Sha256: c1461e3b42fae46d8a3f042eb375d6b13e08f393940a46b47fcb57b9f108a89a
Contents?: true
Size: 882 Bytes
Versions: 6
Compression:
Stored size: 882 Bytes
Contents
buoy :example do link :example, 'http://localhost:3000' end # buoy :stories do # link 'Stories', stories_path # end # `crumb` is the alias of `buoy`. # ex) # crumb :stories do # link 'Stories', stories_path # end # link's first argument, it is used as I18n key and defalt value. # The key is searched in the scope of 'buoys.breadcrumbs'. # # ex) # buoy :story do |story| # link :story, story_path(story) # # same as `link I18n.t(:story, scope: 'buoys.breadcrumbs', default: story), story_path(story)` # end # You can alse override Buoys configuration # # ex) # buoy :story_tasks do |story| # link :story_tasks, story_tasks_path # pre_buoy :story, story, {link_current: true} # end # You can use `pre_buoy` as parent. `parent` is the alias of `pre_buoy` # # ex) # buoy :story_tasks do |story| # link :story_tasks, story_tasks_path # parent :story, story # end
Version data entries
6 entries across 6 versions & 1 rubygems