Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorValery Sizov <valery@gitlab.com>2015-02-03 20:22:56 +0300
committerValery Sizov <valery@gitlab.com>2015-02-03 20:22:56 +0300
commitc8782e1a402f187573562ce8af9068898fd01673 (patch)
tree0abd5ce7906eebee624c5ba24b94d9c18173caaa /config
parentb9d9ac82a9d650b659866ea26dcb4e7987f10381 (diff)
code folding
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 512066e5d4e..f0abd876ecd 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -229,11 +229,11 @@ Gitlab::Application.routes.draw do
resources :tree, only: [:show], constraints: { id: /.+/, format: /(html|js)/ }
resource :avatar, only: [:show, :destroy]
- resources :commit, only: [:show], constraints: {id: /[[:alnum:]]{6,40}/} do
+ resources :commit, only: [:show], constraints: { id: /[[:alnum:]]{6,40}/ } do
get :branches, on: :member
end
- resources :commits, only: [:show], constraints: {id: /(?:[^.]|\.(?!atom$))+/, format: /atom/}
+ resources :commits, only: [:show], constraints: { id: /(?:[^.]|\.(?!atom$))+/, format: /atom/ }
resources :compare, only: [:index, :create]
resources :blame, only: [:show], constraints: { id: /.+/ }
resources :network, only: [:show], constraints: { id: /(?:[^.]|\.(?!json$))+/, format: /json/ }