summaryrefslogtreecommitdiff
path: root/src/http/drafts.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/http/drafts.go')
-rw-r--r--src/http/drafts.go4
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(),
+ )
})
}