Sha256: aeb86139f08716ae2417cd0b49d0fa92cca92b1f77e4b2e9cdb412e2c80ab734
Contents?: true
Size: 667 Bytes
Versions: 1
Compression:
Stored size: 667 Bytes
Contents
module Voltron module Flash module Generators module Install class AssetsGenerator < Rails::Generators::Base source_root File.expand_path('../../../../../../../', __FILE__) desc 'Install Voltron Flash assets' def copy_javascripts_assets copy_file 'app/assets/javascripts/voltron-flash.js', Rails.root.join('app', 'assets', 'javascripts', 'voltron-flash.js') end def copy_stylesheets_assets copy_file 'app/assets/stylesheets/voltron-flash.scss', Rails.root.join('app', 'assets', 'stylesheets', 'voltron-flash.scss') end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
voltron-flash-0.1.6 | lib/generators/voltron/flash/install/assets_generator.rb |