app/views/trestle/resource/index.html.erb in trestle-0.8.3 vs app/views/trestle/resource/index.html.erb in trestle-0.8.4
- old
+ new
@@ -1,5 +1,5 @@
-<% content_for(:title, I18n.t("admin.titles.index", default: "Listing %{pluralized_model_name}", model_name: admin.model_name, pluralized_model_name: admin.model_name.pluralize)) %>
+<% content_for(:title, t("admin.titles.index", default: "Listing %{pluralized_model_name}", model_name: admin.model_name, pluralized_model_name: admin.model_name.pluralize)) %>
<% content_for(:primary_toolbar) do %>
<%= link_to icon("fa fa-plus"), admin.path(:new), class: "btn btn-default btn-lg" unless admin.readonly? %>
<% end %>