From eb8601ba7e4102db5890be3274606e85c9530a54 Mon Sep 17 00:00:00 2001 From: Joost Baaij Date: Wed, 21 Jun 2017 14:11:26 +0200 Subject: [PATCH] leave asset_path functionality default won't **force** https into http anymore. it would trigger a warning in the console. --- app/assets/javascripts/pageflow/chart/asset_urls.js.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/assets/javascripts/pageflow/chart/asset_urls.js.erb b/app/assets/javascripts/pageflow/chart/asset_urls.js.erb index d8cc3d5..4d08fd8 100644 --- a/app/assets/javascripts/pageflow/chart/asset_urls.js.erb +++ b/app/assets/javascripts/pageflow/chart/asset_urls.js.erb @@ -1,4 +1,4 @@ pageflow.chart.assetUrls = { - customStylesheet: '<%= asset_path('pageflow/chart/custom.css', :protocol => 'http') %>', - transparentBackgroundStylesheet: '<%= asset_path('pageflow/chart/transparent_background.css', :protocol => 'http') %>' -}; \ No newline at end of file + customStylesheet: '<%= asset_path("pageflow/chart/custom.css") %>', + transparentBackgroundStylesheet: '<%= asset_path("pageflow/chart/transparent_background.css") %>' +};