diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-09-08 15:14:14 +0100 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-09-08 15:14:14 +0100 |
commit | 1489d225d6763b0fdc3f418692e646587e06938a (patch) | |
tree | ebc241ea14adb58c8443c0b4aac28cda43cecb2b /app/controllers | |
parent | 5d785457db3017a17722314a52433543dd925164 (diff) | |
download | gitlab-ce-1489d225d6763b0fdc3f418692e646587e06938a.tar.gz |
Move partial to right place and fix tests.
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/groups_controller.rb | 2 | ||||
-rw-r--r-- | app/controllers/projects_controller.rb | 2 | ||||
-rw-r--r-- | app/controllers/snippets_controller.rb | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/app/controllers/groups_controller.rb b/app/controllers/groups_controller.rb index 85bf44ee9a5..486c6b2819c 100644 --- a/app/controllers/groups_controller.rb +++ b/app/controllers/groups_controller.rb @@ -15,7 +15,7 @@ class GroupsController < Groups::ApplicationController layout :determine_layout def index - redirect_to (current_user ? dashboard_groups_path : explore_groups_path) + redirect_to(current_user ? dashboard_groups_path : explore_groups_path) end def new diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb index 540bfa9ac07..0bbaa93b0df 100644 --- a/app/controllers/projects_controller.rb +++ b/app/controllers/projects_controller.rb @@ -11,7 +11,7 @@ class ProjectsController < ApplicationController layout :determine_layout def index - redirect_to (current_user ? root_path : explore_root_path) + redirect_to(current_user ? root_path : explore_root_path) end def new diff --git a/app/controllers/snippets_controller.rb b/app/controllers/snippets_controller.rb index f5938da936f..9f9f9a92f11 100644 --- a/app/controllers/snippets_controller.rb +++ b/app/controllers/snippets_controller.rb @@ -26,7 +26,7 @@ class SnippetsController < ApplicationController render 'index' else - redirect_to (current_user ? dashboard_snippets_path : explore_snippets_path) + redirect_to(current_user ? dashboard_snippets_path : explore_snippets_path) end end |