clarion/app/controllers/management/propositions_controller.rb
2015-07-26 14:55:01 +03:00

15 lines
310 B
Ruby

module Management
class PropositionsController < ManagementController
def index
@conference = find_conference
@events_by_proposer = @conference.events.undecided.group_by(&:proposer)
end
private
def find_conference
Conference.find(params[:conference_id])
end
end
end