Class: ActivityActionsController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- ActivityActionsController
- Defined in:
- app/controllers/activity_actions_controller.rb
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
6 7 8 9 10 11 12 13 |
# File 'app/controllers/activity_actions_controller.rb', line 6 def create @activity_action = current_subject. sent_actions. find_or_create_by_activity_object_id @activity_object.id @activity_action.update_attributes activity_action_params end |
#update ⇒ Object
15 16 17 |
# File 'app/controllers/activity_actions_controller.rb', line 15 def update activity_action.update_attributes activity_action_params end |