Sha256: dc7f4d24de3c546cf21ffc69625e4dfbef59a71f5af0f331119194bf65bad60d

Contents?: true

Size: 245 Bytes

Versions: 4

Compression:

Stored size: 245 Bytes

Contents

module Spree
  # Class NotificationController
  class NotificationsController < StoreController
    def destroy_notification
      session['show_notification'] = false
      result = { success: true }
      render json: result
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
spree_custom_notifications-0.4 app/controllers/spree/notifications_controller.rb
spree_custom_notifications-0.3 app/controllers/spree/notifications_controller.rb
spree_custom_notifications-0.2 app/controllers/spree/notifications_controller.rb
spree_custom_notifications-0.1 app/controllers/spree/notifications_controller.rb