From a0ca45b99c88bbc41949a1295676a579d7e40296 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Tue, 11 Nov 2014 18:07:50 +0000 Subject: [PATCH] Code cleanup, removed duplicate project activity route. git-svn-id: http://svn.redmine.org/redmine/trunk@13588 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- config/routes.rb | 3 +-- 1 file changed, 1 insertion(+), 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