fix issue with locating submodule template with newer versions of mustache

This commit is contained in:
Ryan Tomayko 2011-03-05 03:37:32 -08:00
parent 66723da96f
commit a2d316b20d

View File

@ -2,7 +2,7 @@ require 'mustache'
require 'pathname'
class Rocco::Layout < Mustache
self.template_path = File.dirname(__FILE__)
self.template_path = "#{File.dirname(__FILE__)}/.."
def initialize(doc, file=nil)
@doc = doc