@@ -85,11 +85,9 RedmineApp::Application.routes.draw do | |||||
85 | match 'watchers/unwatch', :controller=> 'watchers', :action => 'unwatch', :via => :post |
|
85 | match 'watchers/unwatch', :controller=> 'watchers', :action => 'unwatch', :via => :post | |
86 | match 'watchers/autocomplete_for_user', :controller=> 'watchers', :action => 'autocomplete_for_user', :via => :get |
|
86 | match 'watchers/autocomplete_for_user', :controller=> 'watchers', :action => 'autocomplete_for_user', :via => :get | |
87 |
|
87 | |||
88 | get 'projects/:id/settings/:tab', :to => "projects#settings" |
|
|||
89 |
|
||||
90 | resources :projects do |
|
88 | resources :projects do | |
91 | member do |
|
89 | member do | |
92 | get 'settings' |
|
90 | get 'settings(/:tab)', :action => 'settings', :as => 'settings' | |
93 | post 'modules' |
|
91 | post 'modules' | |
94 | post 'archive' |
|
92 | post 'archive' | |
95 | post 'unarchive' |
|
93 | post 'unarchive' | |
@@ -206,9 +204,6 RedmineApp::Application.routes.draw do | |||||
206 | # TODO: delete /time_entries for bulk deletion |
|
204 | # TODO: delete /time_entries for bulk deletion | |
207 | match '/time_entries/destroy', :to => 'timelog#destroy', :via => :delete |
|
205 | match '/time_entries/destroy', :to => 'timelog#destroy', :via => :delete | |
208 |
|
206 | |||
209 | # TODO: port to be part of the resources route(s) |
|
|||
210 | match 'projects/:id/settings/:tab', :to => 'projects#settings', :via => :get |
|
|||
211 |
|
||||
212 | get 'projects/:id/activity', :to => 'activities#index' |
|
207 | get 'projects/:id/activity', :to => 'activities#index' | |
213 | get 'projects/:id/activity.:format', :to => 'activities#index' |
|
208 | get 'projects/:id/activity.:format', :to => 'activities#index' | |
214 | get 'activity', :to => 'activities#index' |
|
209 | get 'activity', :to => 'activities#index' |
General Comments 0
You need to be logged in to leave comments.
Login now