Class: Glass::NotificationsController

Inherits:
ApplicationController
  • Object
show all
Defined in:
lib/generators/glass/install/templates/notifications_controller.rb

Instance Method Summary collapse

Instance Method Details

#callbackObject



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