Sha256: f91d925a26501b9722aecf63d3c6246d56ae914d077776105f9ccdd7cb8c9f40
Contents?: true
Size: 716 Bytes
Versions: 4
Compression:
Stored size: 716 Bytes
Contents
module SpreePaymentCalculator module Generators class InstallGenerator < Rails::Generators::Base def add_javascripts #append_file "app/assets/javascripts/store/all.js", "//= require store/spree_payment_calculator\n" #append_file "app/assets/javascripts/admin/all.js", "//= require admin/spree_payment_calculator\n" end def add_stylesheets #inject_into_file "app/assets/stylesheets/store/all.css", " *= require store/spree_payment_calculator\n", :before => /\*\//, :verbose => true #inject_into_file "app/assets/stylesheets/admin/all.css", " *= require admin/spree_payment_calculator\n", :before => /\*\//, :verbose => true end end end end
Version data entries
4 entries across 4 versions & 1 rubygems