diff options
Diffstat (limited to 'app')
| -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 | ||||
| -rw-r--r-- | app/views/dashboard/projects/_zero_authorized_projects.html.haml (renamed from app/views/dashboard/_zero_authorized_projects.html.haml) | 0 |
4 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 diff --git a/app/views/dashboard/_zero_authorized_projects.html.haml b/app/views/dashboard/projects/_zero_authorized_projects.html.haml index 4e7d6639727..4e7d6639727 100644 --- a/app/views/dashboard/_zero_authorized_projects.html.haml +++ b/app/views/dashboard/projects/_zero_authorized_projects.html.haml |
