2015-10-05 15:24:37 +03:00
|
|
|
class Api::EventsController < Api::ApplicationController
|
2015-10-08 01:46:21 +03:00
|
|
|
include ::CurrentConferenceAssigning
|
|
|
|
before_filter :require_current_conference!
|
2015-10-05 15:24:37 +03:00
|
|
|
|
2015-10-08 01:46:21 +03:00
|
|
|
def index
|
|
|
|
@events = current_conference.events.includes(:participations)
|
2015-10-05 15:24:37 +03:00
|
|
|
end
|
|
|
|
end
|