Class: Fidelity::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Fidelity::Generators::InstallGenerator
- Defined in:
- lib/fidelity/generators/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#add_assets ⇒ Object
7 8 9 10 |
# File 'lib/fidelity/generators/install_generator.rb', line 7 def add_assets insert_into_file "app/assets/javascripts/application.js", "//= require fidelity/app\n", :after => "jquery_ujs\n" insert_into_file "app/assets/stylesheets/application.css", " *= require fidelity/app\n", :after => "require_self\n" end |