generators/papermill/papermill_generator.rb in papermill-0.9.0 vs generators/papermill/papermill_generator.rb in papermill-0.10.0
- old
+ new
@@ -6,9 +6,10 @@
@class_name = args[0]
end
def manifest
@migration_name = file_name.camelize
+ FileUtils.rm_rf('../../public/papermill/')
FileUtils.cp_r(
Dir[File.join(File.dirname(__FILE__), '../../public')],
File.join(RAILS_ROOT),
:verbose => true
)