Sha256: 257a5fc62f44ecc2160766185dbd77a43b6abc13bb14732f2289e3881f15ba20

Contents?: true

Size: 316 Bytes

Versions: 10

Compression:

Stored size: 316 Bytes

Contents

module Refinery
  class CoreGenerator < Rails::Generators::Base
    source_root File.expand_path('../templates', __FILE__)

    def generate_refinery_initializer
      template "config/initializers/refinery/core.rb.erb", File.join(destination_root, "config", "initializers", "refinery", "core.rb")
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
refinerycms-core-2.0.9 lib/generators/refinery/core/core_generator.rb
refinerycms-core-2.0.8 lib/generators/refinery/core/core_generator.rb
refinerycms-core-2.0.7 lib/generators/refinery/core/core_generator.rb
refinerycms-core-2.0.6 lib/generators/refinery/core/core_generator.rb
refinerycms-core-2.0.5 lib/generators/refinery/core/core_generator.rb
refinerycms-core-2.0.4 lib/generators/refinery/core/core_generator.rb
refinerycms-core-2.0.3 lib/generators/refinery/core/core_generator.rb
refinerycms-core-2.0.2 lib/generators/refinery/core/core_generator.rb
refinerycms-core-2.0.1 lib/generators/refinery/core/core_generator.rb
refinerycms-core-2.0.0 lib/generators/refinery/core/core_generator.rb