Module: SweetActions::ControllerConcerns
- Included in:
- SweetActionsController
- Defined in:
- lib/sweet_actions/controller_concerns.rb
Instance Method Summary collapse
Instance Method Details
#action_missing(action_name) ⇒ Object
3 4 5 6 7 |
# File 'lib/sweet_actions/controller_concerns.rb', line 3 def action_missing(action_name) factory = ActionFactory.new(self, action_name) action = factory.build_action action.perform_action end |