From d4950743206a9fb090eb2b5a4e957d00e612a988 Mon Sep 17 00:00:00 2001 From: Mike West Date: Thu, 17 Mar 2011 19:27:53 +0100 Subject: [PATCH] Fixing a bug in layout.rb's template directory location Should take care of GH-31. Thanks to [Karel Minarik][1] [1]: http://www.karmi.cz --- 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 fa2b44c..f498477 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