lib/sinatra/helpers/inputs.rb in sinatra-hexacta-0.3.1 vs lib/sinatra/helpers/inputs.rb in sinatra-hexacta-0.3.2
- old
+ new
@@ -38,10 +38,10 @@
def year_input(option_hash)
slim "#{Hexacta::GEM_FILE_DIR}/inputs/year".to_sym, locals: option_hash
end
setup_dir("/app/views/#{Hexacta::GEM_FILE_DIR}/inputs")
- symlink_all("/lib/sinatra/views/inputs","/app/views/#{Hexacta::GEM_FILE_DIR}/inputs")
+ copy_all_files("/lib/sinatra/views/inputs","/app/views/#{Hexacta::GEM_FILE_DIR}/inputs")
end
helpers InputHelper
end