summaryrefslogtreecommitdiff
path: root/bin/sp
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-02-27 16:41:45 -0700
committermo khan <mo@mokhan.ca>2025-02-27 16:41:45 -0700
commitad977947acc15bf73843ba0a6387016be31e9ccf (patch)
tree6ef8cff718b68f69578d13b1c492b48ad8c72959 /bin/sp
parent6b048210f3c1b85f4e6344a564996d99296703e8 (diff)
fix: remove safe_level paramter from ERB ctor
Diffstat (limited to 'bin/sp')
-rwxr-xr-xbin/sp2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sp b/bin/sp
index e9c9ddb3..67cc5e4a 100755
--- a/bin/sp
+++ b/bin/sp
@@ -128,7 +128,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