Class: AhoyCaptain::FunnelsController

Inherits:
ApplicationController show all
Defined in:
app/controllers/ahoy_captain/funnels_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

#showObject



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

def show
  funnel = AhoyCaptain.configuration.funnels[params[:id]]
  @funnel = FunnelPresenter.new(funnel, event_query).build
end