Sha256: 04b2597b45f53b7134e8f860a4d4a869d7b9f091fc71443801bf642fd334e077
Contents?: true
Size: 413 Bytes
Versions: 2
Compression:
Stored size: 413 Bytes
Contents
require 'generators/helpers/file_helper' module LolitaFileUpload module Generators class AssetsGenerator < Rails::Generators::Base include Lolita::Generators::FileHelper desc "Copy all from public directory to project public directory." def copy_all root=File.expand_path("../../../../",__FILE__) copy_dir("public",:root=>root) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lolita-file-upload-0.2.1 | lib/generators/lolita_file_upload/assets_generator.rb |
lolita-file-upload-0.2.0 | lib/generators/lolita_file_upload/assets_generator.rb |