diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2011-12-31 15:12:10 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2011-12-31 15:12:10 +0400 |
commit | a667c713128b3dd8dece604e4aae3519ab7e57ed (patch) | |
tree | f811e9a7ca21a0f2741de9fc0d9b797964e35e6b /config | |
parent | d8247012b5dd7578a5d9f9922352c7f373d89af4 (diff) |
repo branches and tags
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index 9e5e15a3abb..90b391cd5a2 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -46,7 +46,12 @@ Gitlab::Application.routes.draw do get "files" end - resource :repository + resource :repository do + member do + get "branches" + get "tags" + end + end resources :refs, :only => [], :path => "/" do collection do |