app/views/main/delete.html.erb in merb-admin-0.4.8 vs app/views/main/delete.html.erb in merb-admin-0.4.9
- old
+ new
@@ -1,11 +1,11 @@
<p>Are you sure you want to delete the <%= @abstract_model.pretty_name.downcase %>? All of the following related items will be deleted:</p>
<ul>
<li>
- <%= link_to(@model_name, url(:admin_edit, :model_name => @abstract_model.singular_name, :id => @object.id))%>
+ <%= link_to(@model_name, url(:merb_admin_edit, :model_name => @abstract_model.singular_name, :id => @object.id))%>
</li>
</ul>
- <%= form_for(@object, :action => url(:admin_destroy, :model_name => @abstract_model.singular_name, :id => @object.id), :method => :delete) do %>
+ <%= form_for(@object, :action => url(:merb_admin_destroy, :model_name => @abstract_model.singular_name, :id => @object.id), :method => :delete) do %>
<div>
<%= submit "Yes, I'm sure" %>
</div>
<% end =%>