2015-07-19 12:01:36 +03:00
|
|
|
module Management
|
|
|
|
class PropositionsController < ManagementController
|
|
|
|
def index
|
|
|
|
@conference = find_conference
|
2015-07-26 14:55:01 +03:00
|
|
|
@events_by_proposer = @conference.events.undecided.group_by(&:proposer)
|
2015-07-19 12:01:36 +03:00
|
|
|
end
|
|
|
|
|
|
|
|
private
|
|
|
|
|
|
|
|
def find_conference
|
|
|
|
Conference.find(params[:conference_id])
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|