summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-06-10 03:59:39 -0400
committerRobert Speicher <rspeicher@gmail.com>2015-06-13 17:59:11 -0400
commit94d3c1433df9380ca83f1f35a540074ff0690410 (patch)
tree98da5a0832c587199b848af871e499a8980c4bf7 /config
parent2bc4fd2d047c1c4c4637f045ed3a51d414359c2a (diff)
downloadgitlab-ce-94d3c1433df9380ca83f1f35a540074ff0690410.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.
Diffstat (limited to 'config')
-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