From f2b8672f08542198c4e17510bda7b698d3773202 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Thu, 29 Dec 2011 08:04:43 +0000 Subject: [PATCH] route: code layout clean up activities route git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8416 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- config/routes.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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