From 0719eea4ec6fd65f3f7d14dcb792457887b94689 Mon Sep 17 00:00:00 2001 From: SylorHuang Date: Mon, 22 Jul 2019 09:59:29 +0800 Subject: [PATCH] =?UTF-8?q?homework=5Fcommon=20=E5=AF=BC=E5=87=BAzip?= =?UTF-8?q?=E7=9A=84=E9=94=99=E8=AF=AF=E6=8F=90=E7=A4=BA=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/graduation_tasks_controller.rb | 2 +- app/controllers/homework_commons_controller.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/graduation_tasks_controller.rb b/app/controllers/graduation_tasks_controller.rb index 6bf3d2f8a..8ee803609 100644 --- a/app/controllers/graduation_tasks_controller.rb +++ b/app/controllers/graduation_tasks_controller.rb @@ -156,7 +156,7 @@ class GraduationTasksController < ApplicationController } end else - tip_exception(status == -2 ? "500M" : "无附件可下载") + normal_status(status == -2 ? "500M" : "无附件可下载") end end end diff --git a/app/controllers/homework_commons_controller.rb b/app/controllers/homework_commons_controller.rb index 052db3e4f..0d30056ac 100644 --- a/app/controllers/homework_commons_controller.rb +++ b/app/controllers/homework_commons_controller.rb @@ -228,7 +228,7 @@ class HomeworkCommonsController < ApplicationController } end else - tip_exception(status == -2 ? "500M" : "无附件可下载") + normal_status(status == -2 ? "500M" : "无附件可下载") end end end