Class: Tora::ErrorController
- Inherits:
-
Controller
- Object
- Controller
- Tora::ErrorController
- Defined in:
- lib/tora/error_controller.rb
Instance Method Summary collapse
Methods inherited from Controller
Constructor Details
This class inherits a constructor from Tora::Controller
Instance Method Details
#error ⇒ Object
5 6 7 8 9 10 11 12 13 |
# File 'lib/tora/error_controller.rb', line 5 def error "<h1>Tora Runtime Error</h1>" + "<p>Here follows the insight:</p>" + "<hr/>" + "<div>" + "<pre>#{@env.to_s.gsub('", ', '".<br>')}</pre>" + "</div>" + "<hr/>" end |