Sha256: bd6e8e83ec076480c3fd4f2b078f7b1aa0e5b3ae505c8766cd1fa04e5eaac2af
Contents?: true
Size: 418 Bytes
Versions: 16
Compression:
Stored size: 418 Bytes
Contents
module MailEngine class CopyResources < Rails::Generators::Base desc "Copy javascripts and css files to your application." source_root File.join(File.dirname(__FILE__)) def copy_resources from = File.expand_path(File.join(File.dirname(__FILE__), "..", "..", "..", "public")) to = File.expand_path(File.join(Rails.root, "public")) directory from, to end end # CreateMigration end
Version data entries
16 entries across 16 versions & 1 rubygems