From 7e80b8ce18de4c8aaff1e8300997a2587e5a469b Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 17 May 2017 16:24:58 -0400 Subject: [PATCH] store post subjects in db --- Project-Unite/Controllers/ForumController.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Project-Unite/Controllers/ForumController.cs b/Project-Unite/Controllers/ForumController.cs index 888c41e..b0769e9 100644 --- a/Project-Unite/Controllers/ForumController.cs +++ b/Project-Unite/Controllers/ForumController.cs @@ -213,6 +213,7 @@ public ActionResult PostReply(CreateTopicViewModel model) var post = new ForumPost(); post.AuthorId = User.Identity.GetUserId(); + post.Subject = model.Subject; post.Body = model.Body; post.Id = Guid.NewGuid().ToString(); post.Parent = topic.Id;