Method: ActionController::Base#check_mdml

Defined in:
lib/base.rb

#check_mdml(action = nil) ⇒ Object



43
44
45
46
47
48
49
50
# File 'lib/base.rb', line 43

def check_mdml(action = nil)
  begin
    handle_mdml(view_class, action)
  rescue Exception => e
    logger.error(e)
    render_text "<h1>Exception</h1> <pre>#{ERB::Util.h(e.to_s)}\n#{e.backtrace.join("\n")}</pre>"
  end 
end