forked from Trustie/forgeplus
fixed 映射老版本图片路由host_main_site
This commit is contained in:
parent
228be1ca59
commit
d72f333ef4
|
|
@ -29,7 +29,7 @@ class AttachmentsController < ApplicationController
|
|||
end
|
||||
|
||||
def old_url
|
||||
redirect_to "#{EduSetting.get("main_web_site_url")}/attachments/send_file/#{params[:id]}"
|
||||
redirect_to "#{EduSetting.get("host_main_site")}/attachments/send_file/#{params[:id]}"
|
||||
end
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue