Class: IWonder::EventsController

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

Instance Method Summary collapse

Instance Method Details

#indexObject



9
10
11
# File 'app/controllers/i_wonder/events_controller.rb', line 9

def index
  @groups = Event.groups
end

#showObject



13
14
15
# File 'app/controllers/i_wonder/events_controller.rb', line 13

def show
  @event_details = Event.get_details_for_event_type(params[:id])
end