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'
|
require 'pathname'
|
||||||
|
|
||||||
class Rocco::Layout < Mustache
|
class Rocco::Layout < Mustache
|
||||||
self.template_path = "#{File.dirname(__FILE__)}/.."
|
self.template_path = "#{File.dirname(__FILE__)}/."
|
||||||
|
|
||||||
def initialize(doc, file=nil)
|
def initialize(doc, file=nil)
|
||||||
@doc = doc
|
@doc = doc
|
||||||
|
Loading…
Reference in New Issue
Block a user