We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bb7bc24 + f92ac13 commit e716082Copy full SHA for e716082
Sloth.Web/Controllers/TeamsController.cs
@@ -86,7 +86,7 @@ public async Task<IActionResult> Create(CreateTeamViewModel model)
86
DbContext.Teams.Add(team);
87
await DbContext.SaveChangesAsync();
88
89
- return RedirectToAction("Details", new { id = team.Id });
+ return RedirectToAction("TeamIndex", "Home", new { team = team.Slug });
90
}
91
92
[Authorize(Policy = PolicyCodes.TeamAdmin)]
0 commit comments