Sha256: b5509c54cbe27ce2dea44d6722ba94201b5cd38222681c104b4c0b317175a5a8

Contents?: true

Size: 730 Bytes

Versions: 1

Compression:

Stored size: 730 Bytes

Contents

DatGretel::Crumbs.class_eval do
  class << self
    # Was used to lay out breadcrumbs in an initializer. Deprecated since v2.1.0
    # and removed in v3.0.0. Will raise an exception if used. Put breadcrumbs in
    # +config/breadcrumbs.rb+ instead (see
    # https://github.com/lassebunk/gretel/blob/master/README.md for details).
    def layout(&block)
      raise (
        "Gretel::Crumbs.layout 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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dat_gretel-4.0.1 lib/dat_gretel/deprecated/layout.rb