God I hate ghost keystrokes.

This commit is contained in:
Michael 2017-03-24 12:02:52 -04:00
parent 0c1c47c98b
commit 0949277bd1

View file

@ -28,7 +28,7 @@ namespace Project_Unite.Controllers
} }
[Authorize] [Authorize]
public ActionResult DislikePosts(string id) public ActionResult DislikePost(string id)
{ {
var db = new ApplicationDbContext(); var db = new ApplicationDbContext();
var topic = db.UserPosts.FirstOrDefault(x => x.Id == id); var topic = db.UserPosts.FirstOrDefault(x => x.Id == id);