From 43d8951296ce2f232ca94f0577e2e726291bf783 Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Sun, 26 May 2024 21:16:02 +0200 Subject: Replace URL building methods with the URLBuilder --- src/http/drafts.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/http/drafts.go') diff --git a/src/http/drafts.go b/src/http/drafts.go index 8f17eec..a20464b 100644 --- a/src/http/drafts.go +++ b/src/http/drafts.go @@ -30,6 +30,8 @@ func (a *api) postDraftPostHandler() http.Handler { return } - a.executeRedirectTpl(rw, r, a.editDraftPostURL(p.ID, false)) + a.executeRedirectTpl( + rw, r, a.urlBuilder.Draft(p.ID).MethodEdit().String(), + ) }) } -- cgit v1.2.3