Module: CrashLog::Rails::ActionControllerRescue
- Defined in:
- lib/crash_log/rails/action_controller_rescue.rb
Overview
CrashLog Rails 2.x controller integration Aliases method chain for Rails internal rescue action
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/crash_log/rails/action_controller_rescue.rb', line 7 def self.included(base) base.send(:alias_method, :rescue_action_in_public_without_crash_log, :rescue_action_in_public) base.send(:alias_method, :rescue_action_in_public, :rescue_action_in_public_with_crash_log) base.send(:alias_method, :rescue_action_locally_without_crash_log, :rescue_action_locally) base.send(:alias_method, :rescue_action_locally, :rescue_action_locally_with_crash_log) end |