From 8a7fdd6fa30df7c2a87a5d0df985e77797baaee1 Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Sun, 29 Aug 2010 02:55:26 -0700 Subject: [PATCH] Reload the compass configuration with each request in case it changes. --- lib/compass/configuration/helpers.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/compass/configuration/helpers.rb b/lib/compass/configuration/helpers.rb index 143bfe14..00f31b75 100644 --- a/lib/compass/configuration/helpers.rb +++ b/lib/compass/configuration/helpers.rb @@ -54,9 +54,7 @@ module Compass end def configure_sass_plugin! - return if sass_plugin_configured? require 'sass/plugin' - @sass_plugin_configured = true config = sass_plugin_configuration locations = config.delete(:template_location) Sass::Plugin.options.merge!(config) @@ -67,10 +65,6 @@ module Compass end end - def sass_plugin_configured? - @sass_plugin_configured - end - def sass_engine_options configuration.to_sass_engine_options end