Sha256: 4aee6c72b348182f9ddafef32ac4665a0637cc20a15eb190393eb4804c49ee34
Contents?: true
Size: 823 Bytes
Versions: 1
Compression:
Stored size: 823 Bytes
Contents
Gretel::Crumbs.layout do crumb :root do link "Home", root_path end crumb :basic do link "About", about_path end crumb :with_root do link "About", about_path parent :root end crumb :with_parent do link "Contact", contact_path parent :basic end crumb :object do |project| link project.name, project end crumb :with_autopath do |project| link project.name, project end crumb :with_parent_object do |issue| link issue.title, project_issue_path(issue.project, issue) parent :object, issue.project end crumb :multiple_links do link "Contact", contact_path link "Contact form", contact_form_path end crumb :multiple_links_with_parent do link "Contact", contact_path link "Contact form", contact_form_path parent :basic end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gretel-1.2.1 | test/dummy/config/initializers/breadcrumbs.rb |