##// END OF EJS Templates
Routes cleanup....
Jean-Philippe Lang -
r10751:cf66561b1ef5
parent child
Show More
@@ -85,11 +85,9 RedmineApp::Application.routes.draw do
85 85 match 'watchers/unwatch', :controller=> 'watchers', :action => 'unwatch', :via => :post
86 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 88 resources :projects do
91 89 member do
92 get 'settings'
90 get 'settings(/:tab)', :action => 'settings', :as => 'settings'
93 91 post 'modules'
94 92 post 'archive'
95 93 post 'unarchive'
@@ -206,9 +204,6 RedmineApp::Application.routes.draw do
206 204 # TODO: delete /time_entries for bulk deletion
207 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 207 get 'projects/:id/activity', :to => 'activities#index'
213 208 get 'projects/:id/activity.:format', :to => 'activities#index'
214 209 get 'activity', :to => 'activities#index'
General Comments 0
You need to be logged in to leave comments. Login now