Sha256: f06e2bc9cd087a8f1910db4e044e0b57038e15d5d0efa771de788c94c43da261

Contents?: true

Size: 332 Bytes

Versions: 4

Compression:

Stored size: 332 Bytes

Contents

module Gretel
  class InstallGenerator < Rails::Generators::Base
    source_root File.expand_path('../templates', __FILE__)
    
    desc "Creates an initializer for breadcrumbs in config/initializers/breadcrumbs.rb"
    def create_initializer
      copy_file "initializer.rb", "config/initializers/breadcrumbs.rb"
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gretel-2.0.0 lib/generators/gretel/gretel_generator.rb
gretel-2.0.0.beta1 lib/generators/gretel/gretel_generator.rb
gretel-1.2.1 lib/generators/gretel/gretel_generator.rb
gretel-1.2.0 lib/generators/gretel/gretel_generator.rb