app/views/trestle/resource/index.html.erb in trestle-0.10.0.pre vs app/views/trestle/resource/index.html.erb in trestle-0.10.0.pre2
- old
+ new
@@ -1,8 +1,13 @@
<% content_for(:title, admin.t("titles.index", default: "Listing %{pluralized_model_name}")) %>
<% toolbar(:primary) do |t| %>
<%= t.new %>
+ <%= hook("index.toolbar.primary", t) %>
+<% end %>
+
+<% toolbar(:secondary) do |t| %>
+ <%= hook("index.toolbar.secondary", t) %>
<% end %>
<% content_for(:utilities) do %>
<%= render "scopes" %>
<% end if admin.scopes.any? %>