From 774af93027a5e1758adac00eb61178ecd85567ed Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Tue, 3 May 2016 13:04:47 +0200 Subject: Remove go to dashboard test suite for group page and get rid of AR warning Signed-off-by: Dmitriy Zaporozhets --- app/views/layouts/nav/_group.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') 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 -- cgit v1.2.1