diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-12-29 08:04:43 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-12-29 08:04:43 +0000 |
commit | f2b8672f08542198c4e17510bda7b698d3773202 (patch) | |
tree | 9c56399436246dd7e5d2a2ac1427dd445f59fea8 | |
parent | c4c4931c6b7aeaf9886f2e497d303d538e26cfb2 (diff) | |
download | redmine-f2b8672f08542198c4e17510bda7b698d3773202.tar.gz redmine-f2b8672f08542198c4e17510bda7b698d3773202.zip |
route: code layout clean up activities route
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8416 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | config/routes.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index c1a5a6f31..06047e2e2 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -199,7 +199,8 @@ ActionController::Routing::Routes.draw do |map| end end - map.with_options :controller => 'activities', :action => 'index', :conditions => {:method => :get} do |activity| + map.with_options :controller => 'activities', :action => 'index', + :conditions => {:method => :get} do |activity| activity.connect 'projects/:id/activity' activity.connect 'projects/:id/activity.:format' activity.connect 'activity', :id => nil |