class Glass::NotificationsController

Public Instance Methods

callback() click to toggle source
# File lib/generators/glass/install/templates/notifications_controller.rb, line 3
def callback
  Glass::SubscriptionNotification.create(params)
  render json: {success: true}
end