diff options
author | Rémy Coutable <remy@rymai.me> | 2016-06-15 13:42:46 +0200 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-06-15 17:27:37 +0200 |
commit | 56ca4859552cc23d5fee88f056952535034e99c7 (patch) | |
tree | a0b869c015344affb5c528685309a8c318ad18d1 /app/views | |
parent | f28bbf9468458864ad5e883c48309a40ea99b63a (diff) | |
download | gitlab-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.haml | 2 | ||||
-rw-r--r-- | app/views/projects/project_members/update.js.haml | 2 |
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))}'); |