diff options
author | Griffin Smith <grfn@gws.fyi> | 2022-05-28T18·44-0400 |
---|---|---|
committer | grfn <grfn@gws.fyi> | 2022-05-28T18·47+0000 |
commit | 8ae5c7a78178488b332b7c8542051aa584f74fa6 (patch) | |
tree | f00e7c1e8c1f074588e47abae681073a7edcd370 /web | |
parent | 8b01911e9446d69c572b6c6078a9fc28b75dcf03 (diff) |
feat(web/panettone): Redirect to created issue after creation. r/4184
Fixes: b/54 Change-Id: I5ae6c8aa2a4448554a8ba4cb41185ada1ecf8cb0 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5784 Autosubmit: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'web')
-rw-r--r-- | web/panettone/src/panettone.lisp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/web/panettone/src/panettone.lisp b/web/panettone/src/panettone.lisp index f9ed979adc79..d87ac5ed4653 100644 --- a/web/panettone/src/panettone.lisp +++ b/web/panettone/src/panettone.lisp @@ -485,7 +485,8 @@ given subject an body (in a thread, to avoid blocking)" (id issue)) :channel (or (uiop:getenvp "ISSUECHANNEL") "#tvl")) - (hunchentoot:redirect "/")))) + (hunchentoot:redirect + (format nil "/issues/~A" (id issue)))))) (defroute show-issue ("/issues/:id" :decorators (@auth-optional @handle-issue-not-found @db)) |