Sha256: 6dc711f098206375c71c989093f5d70a96b5b5a6013d3102c8ca6a15fe510f9b

Contents?: true

Size: 726 Bytes

Versions: 13

Compression:

Stored size: 726 Bytes

Contents

Gretel::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

13 entries across 13 versions & 2 rubygems

Version Path
gretel-lite-3.0.10 lib/gretel/deprecated/layout.rb
gretel-3.0.9 lib/gretel/deprecated/layout.rb
gretel-3.0.8 lib/gretel/deprecated/layout.rb
gretel-3.0.7 lib/gretel/deprecated/layout.rb
gretel-3.0.6 lib/gretel/deprecated/layout.rb
gretel-3.0.5 lib/gretel/deprecated/layout.rb
gretel-3.0.4 lib/gretel/deprecated/layout.rb
gretel-3.0.3 lib/gretel/deprecated/layout.rb
gretel-3.0.2 lib/gretel/deprecated/layout.rb
gretel-3.0.1 lib/gretel/deprecated/layout.rb
gretel-3.0.0 lib/gretel/deprecated/layout.rb
gretel-3.0.0.beta6 lib/gretel/deprecated/layout.rb
gretel-3.0.0.beta5 lib/gretel/deprecated/layout.rb