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:
parent
af81b588d5
commit
0d9b1eabdb
|
@ -45,7 +45,7 @@ module Middleman
|
|||
end
|
||||
|
||||
def config
|
||||
self.class.config
|
||||
@_inst_config ||= self.class.config.dup
|
||||
end
|
||||
|
||||
# Backwards compatibilty with old Sinatra template interface
|
||||
|
|
Loading…
Reference in a new issue