From e520c0fb8140399900ba610e9059d9ad81898cbc 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 92e72cc..57687c7 100644 --- a/app/helpers/layout_helper.rb +++ b/app/helpers/layout_helper.rb @@ -86,7 +86,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