fix issue with locating submodule template with newer versions of mustache
This commit is contained in:
parent
66723da96f
commit
a2d316b20d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user