Although equivalent, clearer for non-*nix based systems

This commit is contained in:
Karl Freeman 2014-03-24 10:29:21 +00:00
parent ce7636ad18
commit ad14766278

View file

@ -1,9 +1,9 @@
# Local templates
class Middleman::Templates::Local < Middleman::Templates::Base
# Look for templates in ~/.middleman
# Look for templates inside .middleman in the user's home directory
# @return [String]
def self.source_root
File.join(File.expand_path('~/'), '.middleman')
File.join(Dir.home, '.middleman')
end
# Just copy from the template path