diff options
author | Dmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com> | 2012-06-13 09:03:53 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com> | 2012-06-13 09:03:53 +0300 |
commit | a243253b10244e8a3b62c40b686b52ac61a3adc8 (patch) | |
tree | 73f84c11c9591e3ad3b434d5c962367802277c69 /config/routes.rb | |
parent | edd81a79c5c2a61e565664cfa787185c4e19729b (diff) | |
download | gitlab-ce-a243253b10244e8a3b62c40b686b52ac61a3adc8.tar.gz |
Refactored project archive. Improved MR usability formv2.6.0pre
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index c3754bc62f9..d1dd03ab985 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,15 +1,24 @@ Gitlab::Application.routes.draw do + # + # Search + # get 'search' => "search#show" # Optionally, enable Resque here require 'resque/server' mount Resque::Server.new, at: '/info/resque' + # + # Help + # get 'help' => 'help#index' get 'help/permissions' => 'help#permissions' get 'help/workflow' => 'help#workflow' get 'help/web_hooks' => 'help#web_hooks' + # + # Admin Area + # namespace :admin do resources :users do member do @@ -44,6 +53,7 @@ Gitlab::Application.routes.draw do get "profile", :to => "profile#show" get "profile/design", :to => "profile#design" put "profile/update", :to => "profile#update" + resources :keys # # Dashboard Area @@ -53,10 +63,12 @@ Gitlab::Application.routes.draw do get "dashboard/merge_requests", :to => "dashboard#merge_requests" resources :projects, :constraints => { :id => /[^\/]+/ }, :only => [:new, :create] - resources :keys devise_for :users, :controllers => { :omniauth_callbacks => :omniauth_callbacks } + # + # Project Area + # resources :projects, :constraints => { :id => /[^\/]+/ }, :except => [:new, :create, :index], :path => "/" do member do get "team" |