When creating a repo, redirect to the page of the new repo
This commit is contained in:
parent
b030320964
commit
c2cd32f020
1 changed files with 1 additions and 1 deletions
|
@ -190,7 +190,7 @@ postReposR user = do
|
||||||
}
|
}
|
||||||
insert_ collab
|
insert_ collab
|
||||||
setMessage "Repo added."
|
setMessage "Repo added."
|
||||||
redirect $ ReposR user
|
redirect $ RepoR user (nrpIdent nrp)
|
||||||
FormMissing -> do
|
FormMissing -> do
|
||||||
setMessage "Field(s) missing"
|
setMessage "Field(s) missing"
|
||||||
defaultLayout $(widgetFile "repo/new")
|
defaultLayout $(widgetFile "repo/new")
|
||||||
|
|
Loading…
Reference in a new issue