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
|
render "archives/download_file.html",:layout=>false
|
||||||
else
|
else
|
||||||
if (current_site.accessibility_mode rescue false)
|
if (current_site.accessibility_mode rescue false)
|
||||||
render "redirect_to_file",:layout=>false
|
render "archives/redirect_to_file.html",:layout=>false
|
||||||
else
|
else
|
||||||
send_file(@path)
|
send_file(@path)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue