Class: BestBoy::EventsController

Inherits:
Object
  • Object
show all
Defined in:
app/controllers/best_boy/events_controller.rb

Instance Method Summary collapse

Instance Method Details

#detailsObject



25
26
27
28
29
30
# File 'app/controllers/best_boy/events_controller.rb', line 25

def details
  collect_occurrences
  collect_occurrences_grouped_by_sources
  collect_occurrences_for_selected_year_of current_event
  selected_year_totals
end

#monthly_detailsObject



32
33
34
# File 'app/controllers/best_boy/events_controller.rb', line 32

def monthly_details
  collect_occurrences_for_month current_month
end

#statsObject



18
19
20
21
22
23
# File 'app/controllers/best_boy/events_controller.rb', line 18

def stats
  collect_occurrences
  collect_occurrences_for_selected_year
  available_events_totals
  selected_year_totals
end