Skip to content

Commit

Permalink
new bg redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
ArttuKuikka committed Oct 6, 2024
1 parent eab3d7a commit 8fe280d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Controllers/RuokalistaAdminController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ public async Task<IActionResult> SetBG(BackgroundForWeek model)
await _context.SaveChangesAsync();


return Redirect("/RuokalistaAdmin");
return Redirect("i/RuokalistaAdmin/SetBG?ruokalistaId=" + model.Id.ToString());
}
// GET: RuokalistaAdmin
public async Task<IActionResult> Index()
Expand Down

0 comments on commit 8fe280d

Please sign in to comment.