Fix bug.
This commit is contained in:
parent
fc0710da10
commit
50c6d02090
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue