Sha256: 3bd8664eccd263125f5ada9e17ef6283d6273e7073281dc5b901613d3ade953e
Contents?: true
Size: 474 Bytes
Versions: 32
Compression:
Stored size: 474 Bytes
Contents
require 'rails/generators' module Jombo module Generators class InstallGenerator < Rails::Generators::Base source_root File.join(File.dirname(__FILE__), 'templates') 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 end end end
Version data entries
32 entries across 32 versions & 1 rubygems