summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2016-06-15 13:42:46 +0200
committerRémy Coutable <remy@rymai.me>2016-06-15 17:27:37 +0200
commit56ca4859552cc23d5fee88f056952535034e99c7 (patch)
treea0b869c015344affb5c528685309a8c318ad18d1 /app/views
parentf28bbf9468458864ad5e883c48309a40ea99b63a (diff)
downloadgitlab-ce-56ca4859552cc23d5fee88f056952535034e99c7.tar.gz
Fix wrong partial path in JS view
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'app/views')
-rw-r--r--app/views/groups/group_members/update.js.haml2
-rw-r--r--app/views/projects/project_members/update.js.haml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/groups/group_members/update.js.haml b/app/views/groups/group_members/update.js.haml
index b0b3a51ce58..da71de4cd1e 100644
--- a/app/views/groups/group_members/update.js.haml
+++ b/app/views/groups/group_members/update.js.haml
@@ -1,2 +1,2 @@
:plain
- $("##{dom_id(@group_member)}").replaceWith('#{escape_javascript(render(@group_member, member: @group_member))}');
+ $("##{dom_id(@group_member)}").replaceWith('#{escape_javascript(render('shared/members/member', member: @group_member))}');
diff --git a/app/views/projects/project_members/update.js.haml b/app/views/projects/project_members/update.js.haml
index 2fb3a41d541..45f8ef89060 100644
--- a/app/views/projects/project_members/update.js.haml
+++ b/app/views/projects/project_members/update.js.haml
@@ -1,2 +1,2 @@
:plain
- $("##{dom_id(@project_member)}").replaceWith('#{escape_javascript(render("project_member", member: @project_member))}');
+ $("##{dom_id(@project_member)}").replaceWith('#{escape_javascript(render('shared/members/member', member: @project_member))}');