2 ms·
Isn't it easier to just build up breadcrumbs from a nested structure that represents your menu and just walk backwards from the current element? I've got a sim
by sunkencity 16y ago
Isn't it easier to just build up breadcrumbs from a nested structure that represents your menu and just walk backwards from the current element?
I've got a simple little rails plug that builds meny, submenu and breadcrumbs from a yaml file and can handle privileges/visibility.
http://github.com/sunkencity/joels_menu http://github.com/sunkencity/joels_menu