lib/rack/olark.rb in rack-olark-0.0.2 vs lib/rack/olark.rb in rack-olark-0.0.3
- old
+ new
@@ -35,9 +35,9 @@
@headers['Content-Type'] =~ /html/
end
def inject(response)
@template = Haml::Engine.new(::File.read(::File.expand_path('../templates/olark.haml', __FILE__)), {:format => @format}).render self
- response.gsub '</body>', @template + '</body>'
+ response.gsub '</body>', @template
end
end
end