1
0
Fork 0
mirror of https://code.naskya.net/repos/ndqEd synced 2025-01-10 20:46:47 +09:00

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