Class: AhoyCaptain::Filters::Pages::EntryPagesController
- Inherits:
-
BaseController
- Object
- ActionController::Base
- ApplicationController
- BaseController
- AhoyCaptain::Filters::Pages::EntryPagesController
- Defined in:
- app/controllers/ahoy_captain/filters/pages/entry_pages_controller.rb
Instance Method Summary collapse
Methods inherited from ApplicationController
Methods included from Rangeable
Methods included from CompareMode
#compare_mode?, #comparison_mode, included
Instance Method Details
#index ⇒ Object
5 6 7 8 9 |
# File 'app/controllers/ahoy_captain/filters/pages/entry_pages_controller.rb', line 5 def index query = event_query.all.distinct("entry_pages.url").select("entry_pages.url as url") render json: query.map { |row| serialize(row.url) } end |