From dc0ac2c516b795619e97b0954906a42600ac87de Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Wed, 26 Aug 2015 12:14:41 -0300 Subject: [PATCH] Fix caching theme stylesheet with asset pipeline --- app/helpers/layout_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/layout_helper.rb b/app/helpers/layout_helper.rb index 1139aba..9780dcc 100644 --- a/app/helpers/layout_helper.rb +++ b/app/helpers/layout_helper.rb @@ -93,7 +93,7 @@ module LayoutHelper end def theme_stylesheet_path - "/assets#{theme_path}/style.css" + "#{theme_path}/style.css".gsub(%r{^/}, '') end def layout_template -- libgit2 0.21.2