Closed coxandrew closed 4 years ago
Currently, it's not possible by default. You can achieve it by creating a custom render_breadcrumbs
that sets the default builder and call super
.
I will probably make this feature available in a future release.
Sounds good - thanks!
Looks like a duplicate of https://github.com/weppos/breadcrumbs_on_rails/pull/41
+1 for this
Closing for now. It's possible to define a custom helper which sets the desired default behavior.
Is there a way to make a custom Builder the default for an app? Not the default for the gem, but just on a specific application?
I'm using the
BootstrapBreadcrumbsBuilder
, which is a great option, but using the:builder
option every time is a little cumbersome:I thought I might be able to just rename my class to
SimpleBuilder
to overwrite the default, but that didn't work. Are there any other ways to allow me to just writerender_breadcrumbs
and have it use my Builder?