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
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2011-12-31 15:12:10 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2011-12-31 15:12:10 +0400
commita667c713128b3dd8dece604e4aae3519ab7e57ed (patch)
treef811e9a7ca21a0f2741de9fc0d9b797964e35e6b /config/routes.rb
parentd8247012b5dd7578a5d9f9922352c7f373d89af4 (diff)
repo branches and tags
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb7
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