When creating a repo, redirect to the page of the new repo

This commit is contained in:
fr33domlover 2019-10-19 02:43:24 +00:00
parent b030320964
commit c2cd32f020

View file

@ -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")