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

2 lines
177 B
Plaintext
Raw Normal View History

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