Sha256: 98f75af46ffe26f11dc7326768d5dd30b0a12fb784bb4175deede8a94afe2d00

Contents?: true

Size: 253 Bytes

Versions: 1

Compression:

Stored size: 253 Bytes

Contents

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spree_custom_notifications-0.5 app/controllers/spree/notifications_controller.rb