summaryrefslogtreecommitdiff
path: root/Project-Unite/Controllers/DeveloperController.cs
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-04-06 13:56:05 -0400
committerMichael <[email protected]>2017-04-06 13:56:05 -0400
commit34d659efbc7efdf23e276270007342a6e68a90bf (patch)
tree4e3a69b2d68ea5f9ce7cf3489e90e9cec98b2ea8 /Project-Unite/Controllers/DeveloperController.cs
parent687d62912c9eea205306df17422dbdba718344a8 (diff)
downloadproject-unite-34d659efbc7efdf23e276270007342a6e68a90bf.tar.gz
project-unite-34d659efbc7efdf23e276270007342a6e68a90bf.tar.bz2
project-unite-34d659efbc7efdf23e276270007342a6e68a90bf.zip
Add wiki category view
Diffstat (limited to 'Project-Unite/Controllers/DeveloperController.cs')
-rw-r--r--Project-Unite/Controllers/DeveloperController.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/Project-Unite/Controllers/DeveloperController.cs b/Project-Unite/Controllers/DeveloperController.cs
index f656132..aed4eb5 100644
--- a/Project-Unite/Controllers/DeveloperController.cs
+++ b/Project-Unite/Controllers/DeveloperController.cs
@@ -146,6 +146,8 @@ namespace Project_Unite.Controllers
if (!ACL.Granted(User.Identity.Name, "CanAccessDevCP"))
return new HttpStatusCodeResult(403);
+ ViewBag.Developer = true;
+
var mdl = new AddWikiCategoryViewModel();
return View(mdl);
@@ -157,7 +159,7 @@ namespace Project_Unite.Controllers
{
if (!ACL.Granted(User.Identity.Name, "CanAccessDevCP"))
return new HttpStatusCodeResult(403);
-
+ ViewBag.Developer = true;
if (!ModelState.IsValid)
return View(model);