Sha256: 839b866f86dea9143e0aba10c76b07cc7a252fc598ec87862461a30e5b469fda

Contents?: true

Size: 402 Bytes

Versions: 5

Compression:

Stored size: 402 Bytes

Contents

require 'generators/helpers/file_helper'
module LolitaTranslation
  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

5 entries across 5 versions & 1 rubygems

Version Path
lolita-translation-0.1.4 lib/generators/lolita_translation/assets_generator.rb
lolita-translation-0.1.3 lib/generators/lolita_translation/assets_generator.rb
lolita-translation-0.1.2 lib/generators/lolita_translation/assets_generator.rb
lolita-translation-0.1.1 lib/generators/lolita_translation/assets_generator.rb
lolita-translation-0.1.0 lib/generators/lolita_translation/assets_generator.rb