summaryrefslogtreecommitdiffstats
path: root/config/routes.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2014-11-11 18:07:50 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2014-11-11 18:07:50 +0000
commita0ca45b99c88bbc41949a1295676a579d7e40296 (patch)
treef2d7eef1e4282e04b21aa4485d89f4516017a658 /config/routes.rb
parentc74098bbd696f830c85daba5657b6694a8c14825 (diff)
downloadredmine-a0ca45b99c88bbc41949a1295676a579d7e40296.tar.gz
redmine-a0ca45b99c88bbc41949a1295676a579d7e40296.zip
Code cleanup, removed duplicate project activity route.
git-svn-id: http://svn.redmine.org/redmine/trunk@13588 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb
index b7f1f7984..f2ddba193 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -209,8 +209,7 @@ Rails.application.routes.draw do
# TODO: delete /time_entries for bulk deletion
match '/time_entries/destroy', :to => 'timelog#destroy', :via => :delete
- get 'projects/:id/activity', :to => 'activities#index'
- get 'projects/:id/activity.:format', :to => 'activities#index'
+ get 'projects/:id/activity', :to => 'activities#index', :as => :project_activity
get 'activity', :to => 'activities#index'
# repositories routes