diff options
Diffstat (limited to 'Project-Unite/Controllers')
| -rw-r--r-- | Project-Unite/Controllers/ForumController.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Project-Unite/Controllers/ForumController.cs b/Project-Unite/Controllers/ForumController.cs index 3eb3c83..888c41e 100644 --- a/Project-Unite/Controllers/ForumController.cs +++ b/Project-Unite/Controllers/ForumController.cs @@ -47,6 +47,7 @@ namespace Project_Unite.Controllers var model = new CreateTopicViewModel(); model.Category = id; + model.Subject = new ApplicationDbContext().ForumTopics.FirstOrDefault(x => x.Discriminator == id).Subject; return View(model); } |
