Commit 964e4c5
bin/idp
@@ -126,7 +126,7 @@ class IdentityProvider
</body>
</html>
ERB
- erb = ERB.new(template, nil, trim_mode: '-')
+ erb = ERB.new(template, trim_mode: '-')
html = erb.result(binding)
[200, { 'Content-Type' => "text/html" }, [html]]
end
bin/sp
@@ -110,7 +110,7 @@ class ServiceProvider
</body>
</html>
ERB
- erb = ERB.new(template, nil, trim_mode: '-')
+ erb = ERB.new(template, trim_mode: '-')
html = erb.result(binding)
[200, { 'Content-Type' => "text/html" }, [html]]
end