Sha256: 57fafd1a02da11bd147045493982e58c9e9c2e9b62ee6925fa65ee2f1d3647ea

Contents?: true

Size: 321 Bytes

Versions: 10

Compression:

Stored size: 321 Bytes

Contents

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

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

  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

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