trestle icon indicating copy to clipboard operation
trestle copied to clipboard

How to customize Breadcrumb according to a particular instance

Open lphm opened this issue 3 years ago • 1 comments

Hello, I need to customize admin form breadcrumbs with making conditions/tests on current loaded instance in form. How can I do this ? Thank you

lphm avatar Jan 05 '22 20:01 lphm

you can try this for customize breadcrumbs admin do def breadcrumbs Trestle::Breadcrumb::Trail.new([ Trestle::Breadcrumb.new("Home", "/admin"), Trestle::Breadcrumb.new("Organisations", "/admin/organisations") ]) end end

toqeerabbas avatar Apr 04 '22 07:04 toqeerabbas