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