Class: Compass::NotificationController
- Inherits:
-
ApplicationController
- Object
- ActionController::API
- ApplicationController
- Compass::NotificationController
- Includes:
- ConditionalCache, Cors
- Defined in:
- app/controllers/compass/notification_controller.rb
Overview
Notification controller.
Instance Method Summary collapse
Methods included from ConditionalCache
Methods included from Cors
Methods inherited from ApplicationController
#authenticate, #current_context, #current_context_id, #validate_context
Instance Method Details
#index ⇒ Object
11 12 13 14 15 |
# File 'app/controllers/compass/notification_controller.rb', line 11 def index with_cache(providers, Compass.config.notification.cache, etag: "compass-notification") do render json: providers end end |