lib/servel/haml_context.rb in servel-0.20.0 vs lib/servel/haml_context.rb in servel-0.21.0
- old
+ new
@@ -7,10 +7,10 @@
def self.render(template, locals)
[200, {}, [new.render(template, locals)]]
end
def initialize
- @build_path = Pathname.new(__FILE__).dirname.realpath + 'templates'
+ @build_path = Pathname.new(__FILE__).dirname.realpath + "../../app"
end
def render(template, locals = {})
haml_engine(template).render(self, locals)
end
\ No newline at end of file