From e3fe69f28e671882d1f78056fc5716b08e0b56fb Mon Sep 17 00:00:00 2001 From: chiu Date: Wed, 15 Sep 2021 22:49:36 +0800 Subject: [PATCH] fix error --- app/controllers/ad_banners_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/ad_banners_controller.rb b/app/controllers/ad_banners_controller.rb index 2c4f86f..a1cfb03 100644 --- a/app/controllers/ad_banners_controller.rb +++ b/app/controllers/ad_banners_controller.rb @@ -142,8 +142,8 @@ class AdBannersController < ApplicationController extra_before_html = "" extra_after_html = "" if has_jplayer - extra_before_html = "" - extra_after_html = "" + extra_before_html = ActionController::Base.helpers.stylesheet_link_tag("ad_banner/jplayer.blue.monday.min.css") + extra_after_html = ActionController::Base.helpers.javascript_include_tag("ad_banner/jquery.jplayer.js") end { "extras" => {