Sha256: 55b1a76abc1b709f63a3059d4e68fa864df985f1dd0dedf9e02079b8a47e6657

Contents?: true

Size: 489 Bytes

Versions: 1

Compression:

Stored size: 489 Bytes

Contents

# frozen_string_literal: true

module Occams
  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 "javascripts/occams/admin/cms", "app/assets/javascripts/occams/admin/cms"
          directory "stylesheets/occams/admin/cms", "app/assets/stylesheets/occams/admin/cms"
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
occams-1.0.1 lib/generators/occams/cms/assets_generator.rb