diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-12-22 02:50:46 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-12-22 02:50:46 +0000 |
commit | fddfd4b4133be1e4d9db303c7b95660671043aac (patch) | |
tree | 538dbcfb0deab4beb293a95533e2c6e7b18a1b25 /config/routes.rb | |
parent | e2b36d1c8a194a75fd01fe680bad57aaa8837e66 (diff) | |
download | redmine-fddfd4b4133be1e4d9db303c7b95660671043aac.tar.gz redmine-fddfd4b4133be1e4d9db303c7b95660671043aac.zip |
route: news: replace unused alias "all_news" and "formatted_all_news"
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8311 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb index ecb5cca22..9b7ad48cb 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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} |