From 749cd058c49c010a9eb378de31441d67c25cc6cd Mon Sep 17 00:00:00 2001 From: viletyy Date: Mon, 28 Dec 2020 12:57:58 +0800 Subject: [PATCH] [FIX] --- app/controllers/apply_signatures_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/apply_signatures_controller.rb b/app/controllers/apply_signatures_controller.rb index cabcb56d..54f64aa6 100644 --- a/app/controllers/apply_signatures_controller.rb +++ b/app/controllers/apply_signatures_controller.rb @@ -2,7 +2,7 @@ class ApplySignaturesController < ApplicationController include ApplicationHelper def template_file - license = License.find_by_name("PHengLET") + license = License.find_by_name("PHengLEI") file = license.attachments.take normal_status(-1, "文件不存在") if file.blank? send_file(absolute_path(local_path(file)), filename: file.title,stream:false, type: file.content_type.presence || 'application/octet-stream')