Class: Compass::MenuController
- Inherits:
-
ApplicationController
- Object
- ActionController::API
- ApplicationController
- Compass::MenuController
- Includes:
- ConditionalCache, Cors
- Defined in:
- app/controllers/compass/menu_controller.rb
Overview
Menu 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
12 13 14 15 16 |
# File 'app/controllers/compass/menu_controller.rb', line 12 def index with_cache(, Compass.config..cache, etag: "compass-menu") do render json: , filter: filter end end |