From e5e0d53f18610465acbec85db5e47dcf6d1263b8 Mon Sep 17 00:00:00 2001 From: Mike West <mike@mikewest.org> Date: Thu, 17 Mar 2011 20:16:12 +0100 Subject: [PATCH] Revert "Fixing a bug in layout.rb's template directory location" This reverts commit d4950743206a9fb090eb2b5a4e957d00e612a988. --- 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 f498477..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