Module: ActionController::Redirecting
- Defined in:
- lib/roundabout/monkey/action_controller.rb
Instance Method Summary collapse
Instance Method Details
#redirect_to_with_recording(options = {}, response_status = {}) ⇒ Object
3 4 5 6 7 8 9 10 11 |
# File 'lib/roundabout/monkey/action_controller.rb', line 3 def redirect_to_with_recording( = {}, response_status = {}) redirect_to_without_recording , response_status begin h = @_request.env['action_dispatch.request.path_parameters'].with_indifferent_access Roundabout.record_transition "#{h[:controller]}##{h[:action]}", Roundabout.normalize_url(self.location), :get, :redirect rescue => e p e end end |