From 50c6d02090f7c7caab96e5c97ca720785e18f38b Mon Sep 17 00:00:00 2001 From: Bohung Date: Sat, 26 Jun 2021 12:17:27 +0800 Subject: [PATCH] Fix bug. --- app/controllers/announcements_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/announcements_controller.rb b/app/controllers/announcements_controller.rb index 56fdc85..3fc4368 100644 --- a/app/controllers/announcements_controller.rb +++ b/app/controllers/announcements_controller.rb @@ -508,7 +508,7 @@ class AnnouncementsController < ApplicationController render "archives/download_file.html",:layout=>false else if (current_site.accessibility_mode rescue false) - render "redirect_to_file",:layout=>false + render "archives/redirect_to_file.html",:layout=>false else send_file(@path) end