Class: Spree::NotificationsController
- Inherits:
-
StoreController
- Object
- StoreController
- Spree::NotificationsController
- Defined in:
- app/controllers/spree/notifications_controller.rb
Overview
Class NotificationController
Instance Method Summary collapse
Instance Method Details
#destroy_notification ⇒ Object
4 5 6 7 8 |
# File 'app/controllers/spree/notifications_controller.rb', line 4 def destroy_notification session['notification_hide_time'] = Time.now result = { success: true } render json: result end |