Merge branches 'dev_aliyun' and 'educoder' of https://bdgit.educoder.net/Hjqreturn/pgfqe6ch8 into educoder

dev_aliyun
杨树明 6 years ago
commit 4a494f70d4

@ -239,7 +239,7 @@ class EcYearsController < ApplicationController
template_file = EcTemplate.find_by_name "课程列表导入模板"
if template_file.present?
file = template_file.attachments.first
@file_url = '' #"/attachments/download/#{file.id}/#{file.filename}"
@file_url = "/attachments/download/#{file.id}/#{file.filename}"
else
@file_url = "javascript:void(0);"
end

Loading…
Cancel
Save