gretel icon indicating copy to clipboard operation
gretel copied to clipboard

Namespaced breadcrumbs

Open MrShemek opened this issue 6 years ago • 0 comments

Hello,

I have a site with 2 distinct areas, (public and admin). Both areas can access the same model, for example Posts. So, I created 2 breadcrumb files, public.rb and admin.rb. When rendering in the admin section, I only want the admin.rb breadcrumbs to be loaded.

Since both sections have a :new_post crumb, the pathing doesn't work as expected. Is this possible, or do I have to give namespaced names to each crumb, such as :new_admin_post?


Original issue: #48

MrShemek avatar Feb 09 '19 14:02 MrShemek