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/config/routes.rb

9 lines
619 B

#custom routes for this plugin
ActionController::Routing::Routes.draw do |map|
map.resources :projects, :only => [] do |project|
project.resources :meetings, :shallow => true, :member => {:copy => :get} do |meeting|
meeting.resource :agenda, :controller => 'meeting_agendas', :only => [:update, :show], :member => {:history => :get, :diff => :get, :close => :put, :open => :put, :notify => :put, :preview => :post}
meeting.resource :minutes, :controller => 'meeting_minutes', :only => [:update, :show], :member => {:history => :get, :diff => :get, :notify => :put, :preview => :post}
end
end
end