Breadcrumbs in Ruby on Rails

前端 未结 6 840
猫巷女王i
猫巷女王i 2021-02-01 07:02

I\'m slightly insecure about my breadcrumb solution. Names and links are defined in each controller action:

Home         


        
6条回答
  •  有刺的猬
    2021-02-01 07:58

    I did a fork of crumble gem. It has very few configuration options and it appears abandoned, but when I tried to switch to breadcrumbs_on_rails or gretel, I realized that I have to add many lines to my views or controllers (and I have a lot of them), but with crumble it is all stored in one configuration file. If you like to do some patches and prefer configuration in one place, I think it is the best solution ever.

提交回复
热议问题