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
path: root/config
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-10 22:17:57 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-13 19:25:18 +0400
commit4c6224aad173a26f1fbe20588b4b155f031d779f (patch)
tree8aaae3125c304094e2b5203b44bf977af995be22 /config
parenteb626edd3fe2602321080e231cf748afc86d4700 (diff)
Public git read-only access via http
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb8
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