summaryrefslogtreecommitdiff
path: root/config/routes.rb
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-06-10 03:59:39 -0400
committerRobert Speicher <rspeicher@gmail.com>2015-06-16 12:51:51 -0400
commitbf44988a302499cb85d070ace355d3915ecd284b (patch)
treeed0eec0ecb1871c97530d2e83d766f7b9b6cf5ff /config/routes.rb
parent7f702b33b91ad40c2d2648a6700c964ad2f3a905 (diff)
downloadgitlab-ce-bf44988a302499cb85d070ace355d3915ecd284b.tar.gz
Add RootController
This controller is now the target for `root_url`. It sub-classes DashboardController so we can render the old default without a redirect if the user hasn't customized their dashboard location. cherry-picked
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 52c98541daf..d60bc796fdb 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -293,7 +293,7 @@ Gitlab::Application.routes.draw do
get '/users/auth/:provider/omniauth_error' => 'omniauth_callbacks#omniauth_error', as: :omniauth_error
end
- root to: "dashboard#show"
+ root to: "root#show"
#
# Project Area