summaryrefslogtreecommitdiff
path: root/src/render
diff options
context:
space:
mode:
Diffstat (limited to 'src/render')
-rw-r--r--src/render/methods.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/render/methods.go b/src/render/methods.go
index 5b2c0b1..9b5a41e 100644
--- a/src/render/methods.go
+++ b/src/render/methods.go
@@ -263,3 +263,7 @@ func (m *Methods) GetPath() (string, error) {
}
func (m *Methods) Add(a, b int) int { return a + b }
+
+func (m *Methods) URLIsSafe(s string) template.URL {
+ return template.URL(s)
+}