fix the link not showing on the old R4 site error

This commit is contained in:
chiu 2020-04-16 19:06:14 +08:00
parent b19e5e838e
commit f31d2403be
1 changed files with 3 additions and 1 deletions

View File

@ -14,7 +14,9 @@ class AdBannersController < ApplicationController
else
target = ""
end
if !b.out_link.blank?
image_link += "\" style=\"cursor:pointer;\" onclick=\"window.location.href=\'#{b.out_link}\'\""
end
images << {
"image_link" => image_link,
"image_alt" => "ad banner image",