This commit is contained in:
chiu 2021-09-15 22:47:39 +08:00
parent eaa5fdf2ef
commit 854685dd36
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").html_safe
extra_after_html = ActionController::Base.helpers.javascript_include_tag("ad_banner/jquery.jplayer").html_safe
extra_before_html = "<link href=\"/assets/ad_banner/jplayer.blue.monday.min.css\" rel=\"stylesheet\">"
extra_after_html = "<script src=\"/assets/ad_banner/jquery.jplayer.min.js\"></script>"
end
{
"extras" => {