app/views/administrate/application/index.html.erb in administrate-0.14.0 vs app/views/administrate/application/index.html.erb in administrate-0.15.0
- old
+ new
@@ -42,11 +42,11 @@
<div>
<%= link_to(
t(
"administrate.actions.new_resource",
- name: page.resource_name.titleize.downcase
+ name: display_resource_name(page.resource_name, singular: true).downcase
),
[:new, namespace, page.resource_path],
class: "button",
) if valid_action?(:new) && show_action?(:new, new_resource) %>
</div>
@@ -60,7 +60,7 @@
page: page,
resources: resources,
table_title: "page-title"
) %>
- <%= paginate resources %>
+ <%= paginate resources, param_name: '_page' %>
</section>