Sha256: 24622fa59cab8605fcb602567ef0e9373b7e058aa3ed5e2f6f3bf9ee1921d774

Contents?: true

Size: 377 Bytes

Versions: 12

Compression:

Stored size: 377 Bytes

Contents

require "rails/generators/base"

module Administrate
  module Generators
    module Assets
      class ImagesGenerator < Rails::Generators::Base
        IMAGES_PATH = "app/assets/images/administrate"

        source_root File.expand_path("../../../../../", __FILE__)

        def copy_images
          directory IMAGES_PATH, IMAGES_PATH
        end
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
administrate-0.7.0 lib/generators/administrate/assets/images_generator.rb
administrate-0.6.0 lib/generators/administrate/assets/images_generator.rb
administrate-0.5.0 lib/generators/administrate/assets/images_generator.rb
administrate-0.4.0 lib/generators/administrate/assets/images_generator.rb
administrate-0.3.0 lib/generators/administrate/assets/images_generator.rb
administrate-0.2.2 lib/generators/administrate/assets/images_generator.rb
administrate-0.2.1 lib/generators/administrate/assets/images_generator.rb
administrate-0.2.0 lib/generators/administrate/assets/images_generator.rb
administrate-0.2.0.rc1 lib/generators/administrate/assets/images_generator.rb
administrate-0.1.5 lib/generators/administrate/assets/images_generator.rb
administrate-0.1.4 lib/generators/administrate/assets/images_generator.rb
administrate-0.1.3 lib/generators/administrate/assets/images_generator.rb