Droppped old repositories routes.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8153 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
467503fd4b
commit
24c804a70a
|
@ -178,14 +178,6 @@ ActionController::Routing::Routes.draw do |map|
|
||||||
#left old routes at the bottom for backwards compat
|
#left old routes at the bottom for backwards compat
|
||||||
map.connect 'boards/:board_id/topics/:action/:id', :controller => 'messages'
|
map.connect 'boards/:board_id/topics/:action/:id', :controller => 'messages'
|
||||||
map.connect 'wiki/:id/:page/:action', :page => nil, :controller => 'wiki'
|
map.connect 'wiki/:id/:page/:action', :page => nil, :controller => 'wiki'
|
||||||
map.with_options :controller => 'repositories' do |omap|
|
|
||||||
omap.repositories_show 'repositories/browse/:id/*path', :action => 'browse'
|
|
||||||
omap.repositories_changes 'repositories/changes/:id/*path', :action => 'changes'
|
|
||||||
omap.repositories_diff 'repositories/diff/:id/*path', :action => 'diff'
|
|
||||||
omap.repositories_entry 'repositories/entry/:id/*path', :action => 'entry'
|
|
||||||
omap.repositories_entry 'repositories/annotate/:id/*path', :action => 'annotate'
|
|
||||||
omap.connect 'repositories/revision/:id/:rev', :action => 'revision'
|
|
||||||
end
|
|
||||||
|
|
||||||
map.with_options :controller => 'sys' do |sys|
|
map.with_options :controller => 'sys' do |sys|
|
||||||
sys.connect 'sys/projects.:format', :action => 'projects', :conditions => {:method => :get}
|
sys.connect 'sys/projects.:format', :action => 'projects', :conditions => {:method => :get}
|
||||||
|
|
Loading…
Reference in New Issue