orbit-basic/app/views/admin/links/update.js.erb

2 lines
176 B
Plaintext

$('#main').html("<%= escape_javascript(render(:partial => 'admin/links/show')) %>");
history.pushState(null, document.title, "<%= escape_javascript(admin_link_url(@item)) %>");