app/views/admin/base/update.js.erb in ab_admin-0.2.3 vs app/views/admin/base/update.js.erb in ab_admin-0.3.0
- old
+ new
@@ -1,7 +1,7 @@
<%
form_wrap_id = dom_id(resource, 'list_edit')
- html = render('table', :collection => [resource])[/<tr id[^>]+>.*<\/tr>/].html_safe
+ html = render('table', collection: [resource])[/<tr id[^>]+>.*<\/tr>/].html_safe
%>
$('#<%= form_wrap_id %>').remove();
$('#<%= dom_id(resource, 'list') %>').replaceWith('<%= j html %>');
$('#<%= dom_id(resource, 'list') %>').addClass('success').scrollToEl()
\ No newline at end of file