Reverts r9547 that breaks 2 tests.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9552 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
a97e2593af
commit
301e0386f5
|
@ -254,28 +254,12 @@ RedmineApp::Application.routes.draw do
|
||||||
:action => /(browse|show|entry|changes|annotate|diff)/,
|
:action => /(browse|show|entry|changes|annotate|diff)/,
|
||||||
:rev => /[a-z0-9\.\-_]+/
|
:rev => /[a-z0-9\.\-_]+/
|
||||||
}
|
}
|
||||||
get 'projects/:id/repository/:repository_id/:format(/*path(.:ext))',
|
get 'projects/:id/repository/:repository_id/:format(/*path(.:ext))', :to => 'repositories#entry', :format => /raw/
|
||||||
:to => 'repositories#entry',
|
get 'projects/:id/repository/:repository_id/:action(/*path(.:ext))', :controller => 'repositories', :action => /(browse|show|entry|changes|annotate|diff)/
|
||||||
:constraints => {
|
|
||||||
:format => 'raw'
|
|
||||||
}
|
|
||||||
get 'projects/:id/repository/:repository_id/:action(/*path(.:ext))',
|
|
||||||
:controller => 'repositories',
|
|
||||||
:constraints => {
|
|
||||||
:action => /(browse|entry|changes|annotate|diff)/
|
|
||||||
}
|
|
||||||
get 'projects/:id/repository/:repository_id', :to => 'repositories#show', :path => nil
|
get 'projects/:id/repository/:repository_id', :to => 'repositories#show', :path => nil
|
||||||
|
|
||||||
get 'projects/:id/repository/:format(/*path(.:ext))',
|
get 'projects/:id/repository/:format(/*path(.:ext))', :to => 'repositories#entry', :format => /raw/
|
||||||
:to => 'repositories#entry',
|
get 'projects/:id/repository/:action(/*path(.:ext))', :controller => 'repositories', :action => /(browse|show|entry|changes|annotate|diff)/
|
||||||
:constraints => {
|
|
||||||
:format => 'raw'
|
|
||||||
}
|
|
||||||
get 'projects/:id/repository/:action(/*path(.:ext))',
|
|
||||||
:controller => 'repositories',
|
|
||||||
:constraints => {
|
|
||||||
:action => /(browse|entry|changes|annotate|diff)/
|
|
||||||
}
|
|
||||||
get 'projects/:id/repository', :to => 'repositories#show', :path => nil
|
get 'projects/:id/repository', :to => 'repositories#show', :path => nil
|
||||||
|
|
||||||
# additional routes for having the file name at the end of url
|
# additional routes for having the file name at the end of url
|
||||||
|
|
Loading…
Reference in New Issue