Rails Administrate - How to Customize Navigation Link Text

Viewed 23

In administrate if I have a model called parentequipmenttype how to I customize the Navigation link to display as "Parent Equipment Type" instead of listing as parentequipmenttype?

1 Answers

You will need to customize app/dashboards/parentequipmenttype_dashboard.rb file.

require "administrate/custom_dashboard"

class ParentequipmenttypeDashboard < Administrate::CustomDashboard
  resource "Parent Equipment Type"
end
Related