clarion/app/views/management/users/toggle_admin.js.erb

2 lines
65 B
Plaintext

$('#user-<%= @user.id %>').replaceWith('<%= j render @user %>');