Sha256: 64e971fde93b2f404b222e83a13d31945f180a0f843b5ad69b4741cf600a3033
Contents?: true
Size: 867 Bytes
Versions: 4
Compression:
Stored size: 867 Bytes
Contents
module Gretel module Crumbs class << self # Lay out the breadcrumbs. # Deprecated since v2.1.0 and removed in v3.0.0. # Put breadcrumbs in +config/breadcrumbs.rb+ instead (see https://github.com/lassebunk/gretel/blob/master/README.md for details). # # Example: # Gretel::Crumbs.layout do # crumb :root do # link "Home", root_path # end # end def layout(&block) raise ( "Gretel::Crumbs.layout has been deprecated was removed in Gretel version 3.0. " + "Please put your breadcrumbs in `config/breadcrumbs.rb`. " + "This will also automatically reload your breadcrumbs when you change them in the development environment. " + "See https://github.com/lassebunk/gretel/blob/master/README.md for details.") end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
gretel-3.0.0.beta4 | lib/gretel/deprecated.rb |
gretel-3.0.0.beta3 | lib/gretel/deprecated.rb |
gretel-3.0.0.beta2 | lib/gretel/deprecated.rb |
gretel-3.0.0.beta1 | lib/gretel/deprecated.rb |