summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-07-14 18:21:28 +0100
committerPhil Hughes <me@iamphill.com>2017-07-14 18:24:09 +0100
commit5a281ea91986695b237cec8f4cedfd9c30d99d4c (patch)
tree122d2be06a62a01eb3dbfc9aa66a38fbf02a0839
parent0c4f512bae5b5e67658dd9707430185f1a1f97cc (diff)
downloadgitlab-ce-project-sidebar-members.tar.gz
Fixed project members link not staying activeproject-sidebar-members
-rw-r--r--app/views/layouts/nav/_new_project_sidebar.html.haml6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/layouts/nav/_new_project_sidebar.html.haml b/app/views/layouts/nav/_new_project_sidebar.html.haml
index 8838852803b..7c9822c5a6a 100644
--- a/app/views/layouts/nav/_new_project_sidebar.html.haml
+++ b/app/views/layouts/nav/_new_project_sidebar.html.haml
@@ -165,7 +165,7 @@
Snippets
- if project_nav_tab? :settings
- = nav_link(path: %w[projects#edit members#show integrations#show services#edit repository#show ci_cd#show pages#show]) do
+ = nav_link(path: %w[projects#edit project_members#index integrations#show services#edit repository#show ci_cd#show pages#show]) do
= link_to edit_project_path(@project), title: 'Settings', class: 'shortcuts-tree' do
%span
Settings
@@ -177,8 +177,8 @@
= link_to edit_project_path(@project), title: 'General' do
%span
General
- = nav_link(controller: :members) do
- = link_to project_settings_members_path(@project), title: 'Members' do
+ = nav_link(controller: :project_members) do
+ = link_to project_project_members_path(@project), title: 'Members' do
%span
Members
- if can_edit