Class: ActionDispatch::ShowExceptions
- Inherits:
-
Object
- Object
- ActionDispatch::ShowExceptions
- Defined in:
- lib/cucumber/rails/action_controller.rb
Instance Method Summary collapse
Instance Method Details
#__cucumber_orig_call__ ⇒ Object
6 |
# File 'lib/cucumber/rails/action_controller.rb', line 6 alias __cucumber_orig_call__ call |
#call(env) ⇒ Object
8 9 10 11 |
# File 'lib/cucumber/rails/action_controller.rb', line 8 def call(env) env['action_dispatch.show_exceptions'] = !!ActionController::Base.allow_rescue __cucumber_orig_call__(env) end |