Breadcumb

any suggestion for breadcumb features?

i made my own breadcumb but it does not seem to work

module UserHelper
def get_title
‘Home’
end
def load_breadcumb
add_breadcumb get_title, index_url
end
end

module User::ShopHelper
def get_title
‘Shop’
end
def load_breadcumb
super
add_breadcumb get_title, user_shop_url
end
end

when i’m in the /user/shop, i called the method, but the result is 'Shop

Shop’, while i was expecting ‘Home > Shop’. apperently the get_title()
in the load_breadcumb() in UserHelper module seems to call
User::ShopHelper’s get_title()

my breadcumb can have to 4 levels in depth. is there any suggestion how
to fix this?
thanks in advance

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs