lib/bunch/rack.rb in bunch-0.1.0 vs lib/bunch/rack.rb in bunch-0.2.0
- old
+ new
@@ -22,10 +22,10 @@
[500, headers('text/plain'), [error_log(e)]]
end
private
def content_for(path)
- Bunch.content_for(path)
+ Bunch.content_for(path, :root => @root)
end
def headers(mime_type)
@headers.merge('Content-Type' => mime_type.to_s)
end