Sha256: 179173004636c8e8936cca8080fe5dd5b530d971db6f20a525d2f9ed2cf34bfd
Contents?: true
Size: 377 Bytes
Versions: 16
Compression:
Stored size: 377 Bytes
Contents
# require 'easy_admin_ui/tasks' in your Rakefile. namespace :easy_admin_ui do desc "Copies assets to public/images/icons/" task :copy_assets do FileUtils.mkdir_p "#{RAILS_ROOT}/public/images/icons/" Dir.chdir(File.dirname(__FILE__) + '/../assets/') FileUtils.cp_r(Dir.glob('icons/*.*'), "#{RAILS_ROOT}/public/images/icons/", :verbose => true) end end
Version data entries
16 entries across 16 versions & 1 rubygems