Instances actually need to dup the global config so they don't set variables that may be different later (tests, config reloading)

This commit is contained in:
Thomas Reynolds 2012-10-14 16:25:22 -07:00
parent af81b588d5
commit 0d9b1eabdb

View file

@ -45,7 +45,7 @@ module Middleman
end end
def config def config
self.class.config @_inst_config ||= self.class.config.dup
end end
# Backwards compatibilty with old Sinatra template interface # Backwards compatibilty with old Sinatra template interface