diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-10 22:17:57 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-13 19:25:18 +0400 |
commit | 4c6224aad173a26f1fbe20588b4b155f031d779f (patch) | |
tree | 8aaae3125c304094e2b5203b44bf977af995be22 /config | |
parent | eb626edd3fe2602321080e231cf748afc86d4700 (diff) |
Public git read-only access via http
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb index ffcfd1ee6f5..eeba31d5ae4 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -37,6 +37,14 @@ Gitlab::Application.routes.draw do get 'help/raketasks' => 'help#raketasks' # + # Public namespace + # + namespace :public do + resources :projects, only: [:index] + root to: "projects#index" + end + + # # Admin Area # namespace :admin do |