app/views/trestle/resource/index.html.erb in trestle-0.9.1 vs app/views/trestle/resource/index.html.erb in trestle-0.9.2

- old
+ new

@@ -1,8 +1,8 @@ <% content_for(:title, admin.t("titles.index", default: "Listing %{pluralized_model_name}")) %> <% toolbar(:primary) do |t| %> - <%= t.link admin.t("buttons.new", default: "New %{model_name}"), action: :new, style: :light, icon: "fa fa-plus", class: "btn-new-resource" if admin.actions.include?(:new) %> + <%= t.new if admin.actions.include?(:new) %> <% end %> <% content_for(:utilities) do %> <%= render "scopes" if admin.scopes.any? %> <% end if admin.scopes.any? %>