mirror of
https://github.com/lempamo/Project-Unite.git
synced 2025-01-22 11:21:47 -05:00
Fix url redirect bug
This commit is contained in:
parent
efc9acb106
commit
bb99c5044e
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ public ActionResult PostSkin(CreateSkinViewModel model)
|
|||
}
|
||||
db.Skins.Add(skin);
|
||||
db.SaveChanges();
|
||||
return RedirectToAction("ViewSkin", new { id = skin.Name });
|
||||
return RedirectToAction("ViewSkin", new { id = skin.Id });
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue