route: code layout clean up activities route
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8416 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
c4c4931c6b
commit
f2b8672f08
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue