Module: AbstractController::ActionArgs
- Extended by:
- ActiveSupport::Concern
- Included in:
- ActionController::Base
- Defined in:
- lib/rails_action_args/abstract_controller.rb
Defined Under Namespace
Modules: ClassMethods Classes: InvalidActionArgs
Instance Method Summary collapse
Instance Method Details
#action_args_for(action_name) ⇒ Object
:api: private
18 19 20 |
# File 'lib/rails_action_args/abstract_controller.rb', line 18 def action_args_for(action_name) self.class.action_args_for(action_name, params) end |
#send_action(action_name) ⇒ Object
13 14 15 |
# File 'lib/rails_action_args/abstract_controller.rb', line 13 def send_action(action_name) send(action_name, *action_args_for(action_name)) end |