summaryrefslogtreecommitdiff
path: root/app/views/projects/group_links/update.js.haml
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-10-06 15:41:00 +0100
committerPhil Hughes <me@iamphill.com>2016-10-06 15:41:00 +0100
commit6865c46c6649118e09e60dd29dfa060470010aa9 (patch)
treeb5ab32dd1311bc46b678fb442b91f347f3348630 /app/views/projects/group_links/update.js.haml
parent996e802415aa1edadb96b1f7efa924581fb047ed (diff)
downloadgitlab-ce-6865c46c6649118e09e60dd29dfa060470010aa9.tar.gz
Changed how collections are rendered
Used variables in haml for replicated checks Fixed broken conflict
Diffstat (limited to 'app/views/projects/group_links/update.js.haml')
-rw-r--r--app/views/projects/group_links/update.js.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/group_links/update.js.haml b/app/views/projects/group_links/update.js.haml
index 231d5a79723..af9a5b19060 100644
--- a/app/views/projects/group_links/update.js.haml
+++ b/app/views/projects/group_links/update.js.haml
@@ -1,3 +1,3 @@
:plain
- var $listItem = $('#{escape_javascript(render('shared/members/group', group_link: @group_link, group: @group_link.group))}');
+ var $listItem = $('#{escape_javascript(render('shared/members/group', group_link: @group_link))}');
$("#group_member_#{@group_link.id} .list-item-name").replaceWith($listItem.find('.list-item-name'));