clarion/app/controllers/management/propositions_controller.rb

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