summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2017-02-22 17:42:11 -0500
committerAlfredo Sumaran <alfredo@gitlab.com>2017-02-22 17:42:11 -0500
commit0803374eec98a8ce0cba54265fa046fb06b683c4 (patch)
tree77e3eef5d741ec52fdb0c7559ea067d0b50f200d
parentaf2434fff41bb5fb309e62cba4d78642e8564a0b (diff)
downloadgitlab-ce-26348-cleanup-navigation-order-groups.tar.gz
-rw-r--r--app/views/groups/_head.html.haml4
-rw-r--r--app/views/groups/_head_issues.html.haml4
-rw-r--r--app/views/layouts/nav/_group.html.haml2
-rw-r--r--features/steps/group/milestones.rb2
4 files changed, 6 insertions, 6 deletions
diff --git a/app/views/groups/_head.html.haml b/app/views/groups/_head.html.haml
index 7bb72710ba0..6b296ea8dea 100644
--- a/app/views/groups/_head.html.haml
+++ b/app/views/groups/_head.html.haml
@@ -2,8 +2,8 @@
.scrolling-tabs-container.sub-nav-scroll
= render 'shared/nav_scroll'
.nav-links.sub-nav.scrolling-tabs
- %ul{ class: (container_class) }
- = nav_link(path: 'groups#show', html_options: {class: 'home'}) do
+ %ul{ class: container_class }
+ = nav_link(path: 'groups#show', html_options: { class: 'home' }) do
= link_to group_path(@group), title: 'Group Home' do
%span
Home
diff --git a/app/views/groups/_head_issues.html.haml b/app/views/groups/_head_issues.html.haml
index 5843a885b83..d554bc23743 100644
--- a/app/views/groups/_head_issues.html.haml
+++ b/app/views/groups/_head_issues.html.haml
@@ -2,8 +2,8 @@
.scrolling-tabs-container.sub-nav-scroll
= render 'shared/nav_scroll'
.nav-links.sub-nav.scrolling-tabs
- %ul{ class: (container_class) }
- = nav_link(path: 'groups#issues', html_options: {class: 'home'}) do
+ %ul{ class: container_class }
+ = nav_link(path: 'groups#issues', html_options: { class: 'home' }) do
= link_to issues_group_path(@group), title: 'List' do
%span
List
diff --git a/app/views/layouts/nav/_group.html.haml b/app/views/layouts/nav/_group.html.haml
index 69f87dd2dcb..e0742d70fac 100644
--- a/app/views/layouts/nav/_group.html.haml
+++ b/app/views/layouts/nav/_group.html.haml
@@ -5,7 +5,7 @@
.fade-right
= icon('angle-right')
%ul.nav-links.scrolling-tabs
- = nav_link(path: ['groups#show', 'groups#activity', 'group_members#index'], html_options: {class: 'home'}) do
+ = nav_link(path: ['groups#show', 'groups#activity', 'group_members#index'], html_options: { class: 'home' }) do
= link_to group_path(@group), title: 'Home' do
%span
Group
diff --git a/features/steps/group/milestones.rb b/features/steps/group/milestones.rb
index ad9389bc9dc..20204ad8654 100644
--- a/features/steps/group/milestones.rb
+++ b/features/steps/group/milestones.rb
@@ -5,7 +5,7 @@ class Spinach::Features::GroupMilestones < Spinach::FeatureSteps
include SharedUser
step 'I click on group milestones' do
- visit group_milestones_path("owned")
+ visit group_milestones_path('owned')
end
step 'I should see group milestones index page has no milestones' do