Fix threadsafety issue with assignment. Fixes #501. Also, WTF?

This commit is contained in:
Thomas Reynolds 2014-05-24 19:18:12 +09:00
parent dc15006340
commit 72b945682a

View file

@ -143,7 +143,8 @@ module Middleman
end
# Store current locs/opts for later
@current_locs = locs, @current_opts = opts
@current_locs = locs
@current_opts = opts
# Keep rendering template until we've used up all extensions. This
# handles cases like `style.css.sass.erb`