All Versions
12
Latest Version
Avg Release Cycle
114 days
Latest Release
3170 days ago
Changelog History
Page 2
Changelog History
Page 2
-
v2.1 Changes
- Breadcrumbs are now configured in
config/breadcrumbs.rb
andconfig/breadcrumbs/**/*.rb
and reloaded when changed in the development environment instead of the initializer that required restart when configuration changed.
- Breadcrumbs are now configured in
-
v2.0 Changes
- ๐ Totally rewritten for better structure.
- 0๏ธโฃ
options[:autoroot]
is nowtrue
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. Useoptions[:link_current]
instead. - ๐ The
link
method incrumb :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
andparent
(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
.