diff options
author | Brian Picciano <mediocregopher@gmail.com> | 2024-05-26 21:16:02 +0200 |
---|---|---|
committer | Brian Picciano <mediocregopher@gmail.com> | 2024-05-26 21:16:02 +0200 |
commit | 43d8951296ce2f232ca94f0577e2e726291bf783 (patch) | |
tree | a04793b1e15e10040201dfafd1c25c649030f72c /src/http/drafts.go | |
parent | a6342a3748beaee1ec3c2dc662af6deec0c3959d (diff) |
Replace URL building methods with the URLBuilder
Diffstat (limited to 'src/http/drafts.go')
-rw-r--r-- | src/http/drafts.go | 4 |
1 files changed, 3 insertions, 1 deletions
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(), + ) }) } |