Class: Governor::AddAssetsGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Governor::AddAssetsGenerator
- Defined in:
- lib/generators/governor/add_assets_generator.rb
Instance Method Summary collapse
Instance Method Details
#install_javascripts ⇒ Object
7 8 9 |
# File 'lib/generators/governor/add_assets_generator.rb', line 7 def install_javascripts copy_file 'assets/javascripts/governor-comments.js', 'public/javascripts/governor-comments.js' end |
#install_stylesheets ⇒ Object
11 12 13 |
# File 'lib/generators/governor/add_assets_generator.rb', line 11 def install_stylesheets copy_file 'assets/stylesheets/governor-comments.css', 'public/stylesheets/governor-comments.css' end |