feat(web/panettone): Redirect to created issue after creation.
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>
This commit is contained in:
parent
8b01911e94
commit
8ae5c7a781
1 changed files with 2 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue