Sha256: bb9e3068d86bf675f38539cd91bde599d3366ee7d73d7a2a611b597f7ed023b7

Contents?: true

Size: 659 Bytes

Versions: 2

Compression:

Stored size: 659 Bytes

Contents

# Remember to restart your application after editing this file.

Gretel::Crumbs.layout do
  # Example crumbs:
  
  # crumb :root do
  #   link "Home", root_path
  # end
  
  # crumb :projects do
  #   link "Projects", projects_path
  # end
  
  # crumb :project do |project|
  #   link lambda { |project| "#{project.name} (#{project.id.to_s})" }, project_path(project)
  #   parent :projects
  # end
  
  # crumb :project_issues do |project|
  #   link "Issues", project_issues_path(project)
  #   parent :project, project
  # end
  
  # crumb :issue do |issue|
  #   link issue.name, issue_path(issue)
  #   parent :project_issues, issue.project
  # end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gretel-2.0.0 lib/generators/gretel/templates/initializer.rb
gretel-2.0.0.beta1 lib/generators/gretel/templates/initializer.rb