Class: AhoyCaptain::ApplicationController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- AhoyCaptain::ApplicationController
- Includes:
- CompareMode, RangeOptions, Rangeable, Pagy::Backend
- Defined in:
- app/controllers/ahoy_captain/application_controller.rb
Direct Known Subclasses
CampaignsController, DevicesController, EntryPagesController, ExitPagesController, ExportsController, Filters::BaseController, FunnelsController, GoalsController, Locations::CitiesController, Locations::CountriesController, Locations::MapsController, Locations::RegionsController, PropertiesController, RealtimesController, RootsController, SourcesController, Stats::BaseController, StatsController, TopPagesController
Instance Method Summary collapse
Methods included from CompareMode
#compare_mode?, #comparison_mode, included
Instance Method Details
#period ⇒ Object
10 11 12 |
# File 'app/controllers/ahoy_captain/application_controller.rb', line 10 def period params[:period] || AhoyCaptain.config.ranges.default end |