Sha256: 50f270a0b79f040c3ec24c39999673a53761890bc71681c8b7030ebdd989e28f
Contents?: true
Size: 602 Bytes
Versions: 1
Compression:
Stored size: 602 Bytes
Contents
module SpreeImageMultiUpload module Generators class InstallGenerator < Rails::Generators::Base def add_javascripts append_file 'app/assets/javascripts/admin/all.js', "//= require admin/spree_image_multi_upload\n" end def add_stylesheets inject_into_file 'app/assets/stylesheets/admin/all.css', " *= require admin/spree_image_multi_upload\n", :before => /\*\//, :verbose => true #inject_into_file 'app/assets/stylesheets/application.css', " *= require admin/spree_image_multi_upload\n", :before => /\*\//, :verbose => true end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
spree_image_multi_upload-1.0.0 | lib/generators/spree_image_multi_upload/install/install_generator.rb |