Sha256: 8e50b890beed227ff4ecb7cf62080ce5ddca158fc5de880b966d5ae9938819de
Contents?: true
Size: 466 Bytes
Versions: 2
Compression:
Stored size: 466 Bytes
Contents
require 'rails/generators' module Vegas 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 vegas\n", :after => "jquery_ujs\n" insert_into_file "app/assets/stylesheets/application.css", " *= require vegas\n", :after => "require_self\n" end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pcs_vegas-0.0.1 | lib/pcs_vegas/generators/install_generator.rb |
pcs_vegas-0.0.1.beta | lib/pcs_vegas/generators/install_generator.rb |