This commit is contained in:
sw 2015-09-18 20:35:57 +08:00
parent 34db84e79f
commit 05f7bf9634
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
require 'zip'
require 'zip'
class ZipdownController < ApplicationController
#查找项目(课程)
before_filter :find_project_by_bid_id, :only => [:assort]
@ -7,7 +7,7 @@ class ZipdownController < ApplicationController
SAVE_FOLDER = "#{Rails.root}/files"
OUTPUT_FOLDER = "#{Rails.root}/files/archiveZip"
#统一下载功能
#统一下载功能
def download
if User.current.logged?
begin