route: scm: fix indents of repository revision requirement
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8684 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
58ece4b887
commit
3fc9a606eb
@ -253,7 +253,7 @@ ActionController::Routing::Routes.draw do |map|
|
||||
:requirements => {
|
||||
:action => /(browse|show|entry|changes|annotate|diff)/,
|
||||
:rev => /[a-z0-9\.\-_]+/
|
||||
}
|
||||
}
|
||||
repository_views.connect 'projects/:id/repository/raw/*path',
|
||||
:action => 'entry', :format => 'raw'
|
||||
repository_views.connect 'projects/:id/repository/:action/*path',
|
||||
@ -280,7 +280,7 @@ ActionController::Routing::Routes.draw do |map|
|
||||
:requirements => {
|
||||
:action => /(browse|show|entry|changes|annotate|diff)/,
|
||||
:rev => /[a-z0-9\.\-_]+/
|
||||
}
|
||||
}
|
||||
repository_views.connect 'projects/:id/repository/:repository_id/raw/*path',
|
||||
:action => 'entry', :format => 'raw'
|
||||
repository_views.connect 'projects/:id/repository/:repository_id/:action/*path',
|
||||
|
Loading…
x
Reference in New Issue
Block a user