diff options
| author | Michael <[email protected]> | 2017-05-17 16:23:55 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-05-17 16:23:55 -0400 |
| commit | 588d21569c6a6adfcb9a75c29c57c43dc7954f06 (patch) | |
| tree | 75634d29d404e55372e9043a2dee3c2cf528a197 /Project-Unite/Controllers/ForumController.cs | |
| parent | 7bc8f60923470059ea0322c52cc05b0c6adae37e (diff) | |
| download | project-unite-588d21569c6a6adfcb9a75c29c57c43dc7954f06.tar.gz project-unite-588d21569c6a6adfcb9a75c29c57c43dc7954f06.tar.bz2 project-unite-588d21569c6a6adfcb9a75c29c57c43dc7954f06.zip | |
individual post subjects
Diffstat (limited to 'Project-Unite/Controllers/ForumController.cs')
| -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); } |
