Releases: nerboda/easy_breadcrumbs
Releases · nerboda/easy_breadcrumbs
Auto Name Detection
Auto Name Detection
Easy Breadcrumbs can now detect names for specific resources.
Path: /contacts/10
Old Breadcrumb Format: Home > Contacts > Contact
New Breadcrumb Format: Home > Contacts > Ada Lovelace
It's able to detect the name with the following limitations:
- The resource is either a Hash or a Custom object
- The resource has a key (Hash) or accessor method (custom object) of one of the following 3 commonly used name attributes:
- :name
- :title
- :subject
If this condition fails, it will default to the old format.