From a2d316b20d318c8a80c9fb70e93ce1d579af9796 Mon Sep 17 00:00:00 2001 From: Ryan Tomayko Date: Sat, 5 Mar 2011 03:37:32 -0800 Subject: [PATCH] fix issue with locating submodule template with newer versions of mustache --- lib/rocco/layout.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rocco/layout.rb b/lib/rocco/layout.rb index 25bfd7e..fa2b44c 100644 --- a/lib/rocco/layout.rb +++ b/lib/rocco/layout.rb @@ -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