From 9fd48e5cfe9a445465d565937f9585f6c282268c Mon Sep 17 00:00:00 2001 From: sw <939547590@qq.com> Date: Fri, 5 Dec 2014 14:25:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BD=9C=E4=B8=9A=E6=89=93?= =?UTF-8?q?=E5=8C=85=E4=B8=8B=E8=BD=BD=E6=97=B6=E6=9C=89=E4=B8=80=E4=B8=AA?= =?UTF-8?q?README=E7=9A=84=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/zipdown_controller.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/controllers/zipdown_controller.rb b/app/controllers/zipdown_controller.rb index cee26ae32..f0dc157b5 100644 --- a/app/controllers/zipdown_controller.rb +++ b/app/controllers/zipdown_controller.rb @@ -99,9 +99,9 @@ class ZipdownController < ApplicationController zipfile.add(rename_file, filename) end - zipfile.get_output_stream('ReadMe') do |os| - os.write 'Homeworks' - end + #zipfile.get_output_stream('ReadMe') do |os| + # os.write 'Homeworks' + #end end zipfile_name rescue Errno => e