app/views/administrate/application/_sidebar.html.erb in administrate-0.1.1 vs app/views/administrate/application/_sidebar.html.erb in administrate-0.1.2
- old
+ new
@@ -9,10 +9,10 @@
<ul class="sidebar__list">
<% DashboardManifest::DASHBOARDS.each do |resource| %>
<li>
<%= link_to(
- resource.to_s.titleize,
+ display_resource_name(resource),
[Administrate::NAMESPACE, resource],
class: "sidebar__link sidebar__link--#{nav_link_state(resource)}"
) %>
</li>
<% end %>