##// END OF EJS Templates
route: news: replace unused alias "all_news" and "formatted_all_news"...
Toshi MARUYAMA -
r8191:fddfd4b4133b
parent child
Show More
@@ -106,8 +106,8 ActionController::Routing::Routes.draw do |map|
106 # For nice "roadmap" in the url for the index action
106 # For nice "roadmap" in the url for the index action
107 map.connect 'projects/:project_id/roadmap', :controller => 'versions', :action => 'index'
107 map.connect 'projects/:project_id/roadmap', :controller => 'versions', :action => 'index'
108
108
109 map.all_news 'news', :controller => 'news', :action => 'index'
109 map.connect 'news', :controller => 'news', :action => 'index'
110 map.formatted_all_news 'news.:format', :controller => 'news', :action => 'index'
110 map.connect 'news.:format', :controller => 'news', :action => 'index'
111 map.preview_news '/news/preview', :controller => 'previews', :action => 'news'
111 map.preview_news '/news/preview', :controller => 'previews', :action => 'news'
112 map.connect 'news/:id/comments', :controller => 'comments', :action => 'create', :conditions => {:method => :post}
112 map.connect 'news/:id/comments', :controller => 'comments', :action => 'create', :conditions => {:method => :post}
113 map.connect 'news/:id/comments/:comment_id', :controller => 'comments', :action => 'destroy', :conditions => {:method => :delete}
113 map.connect 'news/:id/comments/:comment_id', :controller => 'comments', :action => 'destroy', :conditions => {:method => :delete}
General Comments 0
You need to be logged in to leave comments. Login now