Sha256: 80519724f5a1258ec72b32abeef6fd8540f28770c2df6759d3633b5044517345

Contents?: true

Size: 539 Bytes

Versions: 7

Compression:

Stored size: 539 Bytes

Contents

module Comfy
  module Generators
    module Cms
      class AssetsGenerator < Rails::Generators::Base
        source_root File.expand_path(File.join(File.dirname(__FILE__), '../../../../app/assets'))

        def generate_assets
          directory 'images/comfy/admin/cms',      'app/assets/images/comfy/admin/cms'
          directory 'javascripts/comfy/admin/cms', 'app/assets/javascripts/comfy/admin/cms'
          directory 'stylesheets/comfy/admin/cms', 'app/assets/stylesheets/comfy/admin/cms'
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
comfortable_mexican_sofa-1.12.11 lib/generators/comfy/cms/assets_generator.rb
comfortable_mexican_sofa-1.12.10 lib/generators/comfy/cms/assets_generator.rb
comfortable_mexican_sofa-1.12.9 lib/generators/comfy/cms/assets_generator.rb
comfortable_mexican_sofa-1.12.8 lib/generators/comfy/cms/assets_generator.rb
comfortable_mexican_sofa-1.12.7 lib/generators/comfy/cms/assets_generator.rb
comfortable_mexican_sofa-1.12.6 lib/generators/comfy/cms/assets_generator.rb
comfortable_mexican_sofa-1.12.5 lib/generators/comfy/cms/assets_generator.rb