summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/idp2
-rwxr-xr-xbin/sp2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/idp b/bin/idp
index daa15cc6..46c2cf9e 100755
--- a/bin/idp
+++ b/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
diff --git a/bin/sp b/bin/sp
index 68a0e3db..9f95229a 100755
--- a/bin/sp
+++ b/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