|
|
@ -831,7 +831,7 @@ RedmineApp::Application.routes.draw do
|
|
|
|
:controller => 'repositories',
|
|
|
|
:controller => 'repositories',
|
|
|
|
:format => false,
|
|
|
|
:format => false,
|
|
|
|
:constraints => {
|
|
|
|
:constraints => {
|
|
|
|
:action => /(browse|show|entry|raw|annotate|diff)/,
|
|
|
|
:action => /(browse|show|entry|raw|annotate|diff|commit_diff)/,
|
|
|
|
:rev => /[a-z0-9\.\-_]+/
|
|
|
|
:rev => /[a-z0-9\.\-_]+/
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -850,15 +850,15 @@ RedmineApp::Application.routes.draw do
|
|
|
|
:controller => 'repositories',
|
|
|
|
:controller => 'repositories',
|
|
|
|
:format => false,
|
|
|
|
:format => false,
|
|
|
|
:constraints => {
|
|
|
|
:constraints => {
|
|
|
|
:action => /(browse|show|entry|raw|annotate|diff)/,
|
|
|
|
:action => /(browse|show|entry|raw|annotate|diff|commit_diff)/,
|
|
|
|
:rev => /[a-z0-9\.\-_]+/
|
|
|
|
:rev => /[a-z0-9\.\-_]+/
|
|
|
|
}
|
|
|
|
}
|
|
|
|
get 'projects/:id/repository/:repository_id/:action(/*path(.:ext))',
|
|
|
|
get 'projects/:id/repository/:repository_id/:action(/*path(.:ext))',
|
|
|
|
:controller => 'repositories',
|
|
|
|
:controller => 'repositories',
|
|
|
|
:action => /(browse|show|entry|raw|changes|annotate|diff)/
|
|
|
|
:action => /(browse|show|entry|raw|changes|annotate|diff|commit_diff)/
|
|
|
|
get 'projects/:id/repository/:action(/*path(.:ext))',
|
|
|
|
get 'projects/:id/repository/:action(/*path(.:ext))',
|
|
|
|
:controller => 'repositories',
|
|
|
|
:controller => 'repositories',
|
|
|
|
:action => /(browse|show|entry|raw|changes|annotate|diff)/
|
|
|
|
:action => /(browse|show|entry|raw|changes|annotate|diff|commit_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', :to => 'repositories#show', :path => nil
|
|
|
|
get 'projects/:id/repository', :to => 'repositories#show', :path => nil
|
|
|
|