Module: Wrangler::LocalControllerMethods
- Defined in:
- lib/wrangler.rb
Overview
methods to only be included into a controller if Wrangler is configured to handle exceptions for local reqeusts. (Conditionally included into controllers in the Wrangler::included() method).
Instance Method Summary collapse
-
#rescue_action_locally(exception) ⇒ Object
override default behavior and let Wrangler handle the exception for local requests.
Instance Method Details
#rescue_action_locally(exception) ⇒ Object
override default behavior and let Wrangler handle the exception for local requests.
63 64 65 66 |
# File 'lib/wrangler.rb', line 63 def rescue_action_locally(exception) handle_exception(exception, :request => request, :render_errors => true) end |