]> source.dussan.org Git - redmine.git/commitdiff
route: news: replace unused alias "all_news" and "formatted_all_news"
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 22 Dec 2011 02:50:46 +0000 (02:50 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 22 Dec 2011 02:50:46 +0000 (02:50 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8311 e93f8b46-1217-0410-a6f0-8f06a7374b81

config/routes.rb

index ecb5cca2200b3337d8b9718a1c04a856fc15c406..9b7ad48cb32e29e4640cf8ae2519c0f59f9563c7 100644 (file)
@@ -106,8 +106,8 @@ ActionController::Routing::Routes.draw do |map|
   # For nice "roadmap" in the url for the index action
   map.connect 'projects/:project_id/roadmap', :controller => 'versions', :action => 'index'
 
-  map.all_news 'news', :controller => 'news', :action => 'index'
-  map.formatted_all_news 'news.:format', :controller => 'news', :action => 'index'
+  map.connect 'news', :controller => 'news', :action => 'index'
+  map.connect 'news.:format', :controller => 'news', :action => 'index'
   map.preview_news '/news/preview', :controller => 'previews', :action => 'news'
   map.connect 'news/:id/comments', :controller => 'comments', :action => 'create', :conditions => {:method => :post}
   map.connect 'news/:id/comments/:comment_id', :controller => 'comments', :action => 'destroy', :conditions => {:method => :delete}