Class: Gemgento::AssetsGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Gemgento::AssetsGenerator
- Defined in:
- lib/generators/gemgento/assets_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_views ⇒ Object
5 6 7 8 |
# File 'lib/generators/gemgento/assets_generator.rb', line 5 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 |