kanbanworkflowstimelinescrumrubyroadmapproject-planningproject-managementopenprojectangularissue-trackerifcgantt-chartganttbug-trackerboardsbcf
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.
73 lines
1.9 KiB
73 lines
1.9 KiB
11 years ago
|
#-- copyright
|
||
11 years ago
|
# OpenProject Meeting Plugin
|
||
|
#
|
||
|
# Copyright (C) 2011-2014 the OpenProject Foundation (OPF)
|
||
11 years ago
|
#
|
||
|
# This program is free software; you can redistribute it and/or
|
||
|
# modify it under the terms of the GNU General Public License version 3.
|
||
|
#
|
||
11 years ago
|
# This program is distributed in the hope that it will be useful,
|
||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
|
# GNU General Public License for more details.
|
||
|
#
|
||
11 years ago
|
# You should have received a copy of the GNU General Public License
|
||
|
# along with this program; if not, write to the Free Software
|
||
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||
|
#
|
||
|
# See doc/COPYRIGHT.md for more details.
|
||
11 years ago
|
#++
|
||
|
|
||
12 years ago
|
OpenProject::Application.routes.draw do
|
||
12 years ago
|
|
||
|
scope 'projects/:project_id' do
|
||
10 years ago
|
resources :meetings, only: [:new, :create, :index]
|
||
12 years ago
|
end
|
||
|
|
||
10 years ago
|
resources :meetings, except: [:new, :create, :index] do
|
||
12 years ago
|
|
||
6 years ago
|
resource :agenda, controller: 'meeting_agendas', only: [:update] do
|
||
12 years ago
|
member do
|
||
|
get :history
|
||
|
get :diff
|
||
|
put :close
|
||
|
put :open
|
||
|
put :notify
|
||
8 years ago
|
put :icalendar
|
||
12 years ago
|
post :preview
|
||
12 years ago
|
end
|
||
12 years ago
|
|
||
10 years ago
|
resources :versions, only: [:show],
|
||
|
controller: 'meeting_agendas'
|
||
12 years ago
|
end
|
||
|
|
||
7 years ago
|
resource :contents, controller: 'meeting_contents', only: [:show, :update] do
|
||
|
member do
|
||
|
get :history
|
||
|
get :diff
|
||
|
put :notify
|
||
|
get :icalendar
|
||
|
end
|
||
|
end
|
||
|
|
||
6 years ago
|
resource :minutes, controller: 'meeting_minutes', only: [:update] do
|
||
12 years ago
|
member do
|
||
|
get :history
|
||
|
get :diff
|
||
|
put :notify
|
||
|
post :preview
|
||
|
end
|
||
|
|
||
10 years ago
|
resources :versions, only: [:show],
|
||
|
controller: 'meeting_minutes'
|
||
12 years ago
|
end
|
||
|
|
||
|
member do
|
||
|
get :copy
|
||
10 years ago
|
match '/:tab' => 'meetings#show', :constraints => { tab: /(agenda|minutes)/ },
|
||
|
:via => :get,
|
||
|
:as => 'tab'
|
||
14 years ago
|
end
|
||
|
end
|
||
12 years ago
|
end
|