mirror of
https://github.com/lempamo/Project-Unite.git
synced 2025-01-22 17:22:15 +00: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.Skins.Add(skin);
|
||||||
db.SaveChanges();
|
db.SaveChanges();
|
||||||
return RedirectToAction("ViewSkin", new { id = skin.Name });
|
return RedirectToAction("ViewSkin", new { id = skin.Id });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue