Fix bug.
This commit is contained in:
1 parent
fc0710da10
commit
50c6d02090
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user