OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/app/controllers/meeting_agendas_controller.rb

22 lines
359 B

class MeetingAgendasController < MeetingContentsController
unloadable
menu_item :meetings
def close
@content.lock!
redirect_to :back
end
def open
@content.unlock!
redirect_to :back
end
private
def find_content
@content = @meeting.agenda || @meeting.build_agenda
@content_type = "meeting_agenda"
end
end