Module: SimplyTestable::ActionControllerExtension::AccessibleViaUser::InstanceMethods
- Defined in:
- lib/simply_testable/action_controller_extension/accessible_via_user.rb
Instance Method Summary collapse
-
#nawil_redirection(options = {}) ⇒ Object
This needs to be static and not dynamic or the multiple calls that would create it would overwrite each other.
Instance Method Details
#nawil_redirection(options = {}) ⇒ Object
This needs to be static and not dynamic or the multiple calls that would create it would overwrite each other.
13 14 15 16 17 18 19 |
# File 'lib/simply_testable/action_controller_extension/accessible_via_user.rb', line 13 def nawil_redirection(={}) if [:redirect] send([:redirect]) else root_path end end |