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
This commit is contained in:
parent
b993200fc1
commit
d495074320
@ -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