All Versions
Latest Version
Avg Release Cycle
114 days
Latest Release
2890 days ago

Changelog History
Page 2

  • v2.1 Changes

    • Breadcrumbs are now configured in config/breadcrumbs.rb and config/breadcrumbs/**/*.rb and reloaded when changed in the development environment instead of the initializer that required restart when configuration changed.
  • v2.0 Changes

    • ๐Ÿ‘ Totally rewritten for better structure.
    • 0๏ธโƒฃ options[:autoroot] is now true by default which means it will automatically link to the :root breadcrumb if no parent is specified.
    • 0๏ธโƒฃ Now accepts options[:class] for specifying the CSS class for the breadcrumbs container. Default: "breadcrumbs".
    • 0๏ธโƒฃ Now accepts options[:current_class] for specifying the CSS class for the current link / span. Default: "current".
    • ๐Ÿšš options[:link_last] was deprecated in a previous version and is now removed. Use options[:link_current] instead.
    • ๐Ÿ— The link method in crumb :xx do ... end no longer takes HTML options. The method for this is now by building the breadcrumbs manually (see the readme).
    • ๐Ÿ‘ No longer supports procs for link text or URL as this is unnecessary when you can pass arguments to the block anyway.
    • ๐Ÿ‘€ It now accepts multiple arguments for crumb and parent (see the readme).
    • Breadcrumbs are now rendered with <%= breadcrumbs %>, although you can still use the old <%= breadcrumb %> (without s).
    • You can now access view helpers from inside Gretel::Crumbs.layout do .. end.