diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-16 12:45:20 +0000 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-16 12:45:20 +0000 |
commit | fa3cc1dd24fed0cd3b041e469cada054fda479ab (patch) | |
tree | 8b1b96f38209f9a81fca0f287f5192382a9d65dc /config | |
parent | b7297285369171c95b006e49d6da7bc84b969fc8 (diff) | |
parent | f6cc71bc36283223a10f3004121be34f06547d94 (diff) | |
download | gitlab-ce-fa3cc1dd24fed0cd3b041e469cada054fda479ab.tar.gz |
Merge branch 'features/attachment_server' of /home/git/repositories/gitlab/gitlabhq
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb index 88667db130e..7537a11de96 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -46,6 +46,11 @@ Gitlab::Application.routes.draw do end # + # Attachments serving + # + get 'files/:type/:id/:filename' => 'files#download', constraints: { id: /\d+/, type: /[a-z]+/, filename: /[a-zA-Z.0-9_\-\+]+/ } + + # # Admin Area # namespace :admin do |