lib/generators/administrate/dashboard/templates/dashboard.rb.erb in administrate-0.1.0 vs lib/generators/administrate/dashboard/templates/dashboard.rb.erb in administrate-0.1.1
- old
+ new
@@ -38,6 +38,13 @@
form_attributes.map do |attr|
" :#{attr},"
end.join("\n")
%>
]
+
+ # Overwrite this method to customize how <%= file_name.pluralize.humanize.downcase %> are displayed
+ # across all pages of the admin dashboard.
+ #
+ # def display_resource(<%= file_name %>)
+ # "<%= class_name %> ##{<%= file_name %>.id}"
+ # end
end