module SweetActions::ControllerConcerns

Public Instance Methods

action_missing(action_name) click to toggle source
# 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