Method: ActivityNotification::SubscriptionsApiController#unsubscribe
- Defined in:
- app/controllers/activity_notification/subscriptions_api_controller.rb
#open(params) ⇒ JSON
Updates a subscription to unsubscribe to the notifications.
PUT /:target_type/:target_id/subscriptions/:id/unsubscribe
118 119 120 121 |
# File 'app/controllers/activity_notification/subscriptions_api_controller.rb', line 118 def unsubscribe super validate_and_render_subscription end |