Class: Jombo::Generators::InstallGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/jombo/generators/install_generator.rb

Instance Method Summary collapse

Instance Method Details

#add_assetsObject



8
9
10
11
# File 'lib/jombo/generators/install_generator.rb', line 8

def add_assets
  insert_into_file "app/assets/javascripts/application.js", "//= require bootstrap\n", :after => "jquery_ujs\n"
  insert_into_file "app/assets/stylesheets/application.css", " *= require bootstrap\n", :after => "require_self\n"
end