summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-02-27 12:08:52 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-02-27 12:08:52 +0000
commit9fe6bcac7436e073f11cd6612e7d134b5e2e17e0 (patch)
tree68fdeaa24c483f0d2cfbc09ec1cb9cfd40166c2c /config
parent4d892fd6d003ca75d1e5c3009002df7a108f55c1 (diff)
downloadredmine-9fe6bcac7436e073f11cd6612e7d134b5e2e17e0.tar.gz
redmine-9fe6bcac7436e073f11cd6612e7d134b5e2e17e0.zip
Fixes user's activity link (#2853).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2532 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb
index d20bc3c9f..307a38bd9 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -193,8 +193,8 @@ ActionController::Routing::Routes.draw do |map|
projects.with_options :action => 'activity', :conditions => {:method => :get} do |activity|
activity.connect 'projects/:id/activity'
activity.connect 'projects/:id/activity.:format'
- activity.connect 'activity'
- activity.connect 'activity.:format'
+ activity.connect 'activity', :id => nil
+ activity.connect 'activity.:format', :id => nil
end
projects.with_options :conditions => {:method => :post} do |project_actions|