class MailEngine::CopyResources

Public Instance Methods

copy_resources() click to toggle source
# File lib/mail_engine/generators/copy_resources.rb, line 6
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