Class: AhoyCaptain::GoalsController

Inherits:
ApplicationController show all
Defined in:
app/controllers/ahoy_captain/goals_controller.rb

Instance Method Summary collapse

Methods inherited from ApplicationController

#period

Methods included from Rangeable

#period

Methods included from CompareMode

#compare_mode?, #comparison_mode, included

Instance Method Details

#indexObject



3
4
5
# File 'app/controllers/ahoy_captain/goals_controller.rb', line 3

def index
  @presenter = GoalsPresenter.new(event_query).build
end