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