lib/generators/administrate/dashboard/templates/dashboard.rb.erb in administrate-0.12.0 vs lib/generators/administrate/dashboard/templates/dashboard.rb.erb in administrate-0.13.0

- old
+ new

@@ -53,10 +53,10 @@ # # For example to add an option to search for open resources by typing "open:" # in the search field: # # COLLECTION_FILTERS = { - # open: ->(resources) { where(open: true) } + # open: ->(resources) { resources.where(open: true) } # }.freeze COLLECTION_FILTERS = {}.freeze # Overwrite this method to customize how <%= file_name.pluralize.humanize.downcase %> are displayed # across all pages of the admin dashboard.