Class: Glass::NotificationsController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Glass::NotificationsController
- Defined in:
- lib/generators/glass/install/templates/notifications_controller.rb
Instance Method Summary collapse
Instance Method Details
#callback ⇒ Object
3 4 5 6 |
# File 'lib/generators/glass/install/templates/notifications_controller.rb', line 3 def callback Glass::SubscriptionNotification.create(params) render json: {success: true} end |