lib/deface/template_helper.rb in deface-1.0.1 vs lib/deface/template_helper.rb in deface-1.0.2
- old
+ new
@@ -21,10 +21,10 @@
end
if view.handler.to_s == "Haml::Plugin"
Deface::HamlConverter.new(view.source).result
elsif view.handler.class.to_s == "Slim::RailsTemplate"
- Slim::ERBConverter.new.call(view.source)
+ Deface::SlimConverter.new(view.source).result
else
view.source
end
end