summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-01-21 06:09:43 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-01-21 06:09:43 +0000
commit3fc9a606eb690549595fd2bc253fafe542cbc561 (patch)
tree3a7e4ab9ec118183719410ff93e3c0827e84446d /config
parent58ece4b887dc0793bfb39aaba76b279fd7e3b256 (diff)
downloadredmine-3fc9a606eb690549595fd2bc253fafe542cbc561.tar.gz
redmine-3fc9a606eb690549595fd2bc253fafe542cbc561.zip
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
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 3cee3242b..d905ce654 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -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',