From c2cd32f02037d1723339820e0774aa16dddafbae Mon Sep 17 00:00:00 2001 From: fr33domlover Date: Sat, 19 Oct 2019 02:43:24 +0000 Subject: [PATCH] When creating a repo, redirect to the page of the new repo --- src/Vervis/Handler/Repo.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Vervis/Handler/Repo.hs b/src/Vervis/Handler/Repo.hs index 19c54b0..0617afe 100644 --- a/src/Vervis/Handler/Repo.hs +++ b/src/Vervis/Handler/Repo.hs @@ -190,7 +190,7 @@ postReposR user = do } insert_ collab setMessage "Repo added." - redirect $ ReposR user + redirect $ RepoR user (nrpIdent nrp) FormMissing -> do setMessage "Field(s) missing" defaultLayout $(widgetFile "repo/new")