fix error

This commit is contained in:
chiu 2021-09-15 22:45:01 +08:00
parent 647c9bb250
commit eaa5fdf2ef
1 changed files with 2 additions and 2 deletions

View File

@ -142,8 +142,8 @@ class AdBannersController < ApplicationController
extra_before_html = ""
extra_after_html = ""
if has_jplayer
extra_before_html = ActionController::Base.helpers.stylesheet_link_tag("ad_banner/jplayer.blue.monday.min")
extra_after_html = ActionController::Base.helpers.javascript_include_tag("ad_banner/jquery.jplayer")
extra_before_html = ActionController::Base.helpers.stylesheet_link_tag("ad_banner/jplayer.blue.monday.min").html_safe
extra_after_html = ActionController::Base.helpers.javascript_include_tag("ad_banner/jquery.jplayer").html_safe
end
{
"extras" => {