summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-05-03 13:04:47 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-05-03 13:04:47 +0200
commit774af93027a5e1758adac00eb61178ecd85567ed (patch)
tree3041e03b7f28f7922959de2fa262efce6ea210ce /app
parentd8440b3035667623c87fe84b5a58c68da4ff936f (diff)
downloadgitlab-ce-774af93027a5e1758adac00eb61178ecd85567ed.tar.gz
Remove go to dashboard test suite for group page and get rid of AR warning
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app')
-rw-r--r--app/views/layouts/nav/_group.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/nav/_group.html.haml b/app/views/layouts/nav/_group.html.haml
index bc5ce7052e4..87ee765b8f2 100644
--- a/app/views/layouts/nav/_group.html.haml
+++ b/app/views/layouts/nav/_group.html.haml
@@ -16,7 +16,7 @@
%li
= link_to edit_group_path(@group) do
Edit Group
- - if access = @group.users.find(current_user)
+ - if access = @group.users.find(current_user.id)
%li
= link_to leave_group_group_members_path(@group),
data: { confirm: leave_group_message(@group.name) }, method: :delete, title: 'Leave group' do