fix templates_path on windows

This commit is contained in:
Jason Harwig 2011-08-08 16:01:04 -05:00
parent 9333763333
commit 1570293c0c

View file

@ -1,6 +1,6 @@
module Middleman
def self.templates_path
File.join(`cd ~ && pwd`.chomp, ".middleman")
File.join(File.expand_path("~/"), ".middleman")
end
end