Sha256: 82c19c9a1dc38db9e5f3795f17652bc0825cc5b7287b2dbe890c6f8949412381

Contents?: true

Size: 460 Bytes

Versions: 1

Compression:

Stored size: 460 Bytes

Contents

module Gemgento
  class AssetsGenerator < Rails::Generators::Base

    desc 'Copies migrations to your application.'
    def copy_views
      FileUtils.cp_r Gemgento::Engine.root.join('app', 'assets', 'javascripts', 'gemgento'), Rails.application.root.join('app', 'assets', 'javascripts')
      FileUtils.cp_r Gemgento::Engine.root.join('app', 'assets', 'stylesheets', 'gemgento'), Rails.application.root.join('app', 'assets', 'stylesheets')
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gemgento-2.8.0 lib/generators/gemgento/assets_generator.rb