##// END OF EJS Templates
route: move news after project scope...
Toshi MARUYAMA -
r8426:03e10cbc8f8e
parent child
Show More
@@ -121,8 +121,6 ActionController::Routing::Routes.draw do |map|
121 121 # For nice "roadmap" in the url for the index action
122 122 map.connect 'projects/:project_id/roadmap', :controller => 'versions', :action => 'index'
123 123
124 map.connect 'news', :controller => 'news', :action => 'index'
125 map.connect 'news.:format', :controller => 'news', :action => 'index'
126 124 map.preview_news '/news/preview', :controller => 'previews', :action => 'news'
127 125 map.connect 'news/:id/comments', :controller => 'comments',
128 126 :action => 'create', :conditions => {:method => :post}
@@ -193,6 +191,9 ActionController::Routing::Routes.draw do |map|
193 191 }
194 192 end
195 193
194 map.connect 'news', :controller => 'news', :action => 'index'
195 map.connect 'news.:format', :controller => 'news', :action => 'index'
196
196 197 map.resources :queries, :except => [:show]
197 198 map.resources :issues,
198 199 :collection => {:bulk_edit => [:get, :post], :bulk_update => :post} do |issues|
General Comments 0
You need to be logged in to leave comments. Login now