Method: ActionController::Base#current_action

Defined in:
lib/active_acl/load_controller_actions.rb

#current_actionObject

Get the access object for the current action.



4
5
6
# File 'lib/active_acl/load_controller_actions.rb', line 4

def current_action
  ActiveAcl::CONTROLLERS[self.class.name][action_name]
end