debian-mirror-gitlab/app/views/projects/project_members/update.js.haml
2015-04-26 09:18:37 +02:00

3 lines
248 B
Text

- can_admin_project = can?(current_user, :admin_project, @project)
:plain
$("##{dom_id(@project_member)}").replaceWith('#{escape_javascript(render("project_member", member: @project_member, current_user_can_admin_project: can_admin_project))}');