diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-04-03 09:26:38 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-04-03 09:26:38 +0300 |
commit | 94390fc7b42e92d4e1d38c8392a2e310a256c4ca (patch) | |
tree | 59ea43b8a0de43727b841c2d55b250411b024f48 /config | |
parent | 88abe66c27504bcda71fd0ddbeb22d0115b8c09f (diff) | |
download | gitlab-ce-94390fc7b42e92d4e1d38c8392a2e310a256c4ca.tar.gz |
Proper routing. blobs for blobs, raw for send_data
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb index 61a604b954f..b62d3fe2b0c 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -170,6 +170,7 @@ Gitlab::Application.routes.draw do end resources :blob, only: [:show], constraints: {id: /.+/} + resources :raw, only: [:show], constraints: {id: /.+/} resources :tree, only: [:show], constraints: {id: /.+/, format: /(html|js)/ } resources :edit_tree, only: [:show, :update], constraints: {id: /.+/}, path: 'edit' resources :commit, only: [:show], constraints: {id: /[[:alnum:]]{6,40}/} |