app/views/main/index.html.erb in merb-admin-0.6.6 vs app/views/main/index.html.erb in merb-admin-0.6.7

- old
+ new

@@ -5,16 +5,16 @@ <%= link_to("Models", url(:merb_admin_dashboard), :class => "section") %> </caption> <% @abstract_models.each do |abstract_model| %> <tr> <th scope="row"> - <%= link_to(abstract_model.plural_name.to_s.capitalize, url(:merb_admin_list, :model_name => abstract_model.singular_name)) %> + <%= link_to(abstract_model.pretty_name, url(:merb_admin_list, :model_name => abstract_model.to_param)) %> </th> <td> - <%= link_to("Add", url(:merb_admin_new, :model_name => abstract_model.singular_name), :class => "addlink") %> + <%= link_to("Add", url(:merb_admin_new, :model_name => abstract_model.to_param), :class => "addlink") %> </td> <td> - <%= link_to("Edit", url(:merb_admin_list, :model_name => abstract_model.singular_name), :class => "changelink") %> + <%= link_to("Edit", url(:merb_admin_list, :model_name => abstract_model.to_param), :class => "changelink") %> </td> </tr> <% end %> </table> </div>