summaryrefslogtreecommitdiff
path: root/Project-Unite/Controllers/BlogController.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Project-Unite/Controllers/BlogController.cs')
-rw-r--r--Project-Unite/Controllers/BlogController.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/Project-Unite/Controllers/BlogController.cs b/Project-Unite/Controllers/BlogController.cs
index bc01229..5d964e2 100644
--- a/Project-Unite/Controllers/BlogController.cs
+++ b/Project-Unite/Controllers/BlogController.cs
@@ -130,12 +130,10 @@ namespace Project_Unite.Controllers
return View(blog);
}
+ [RequiresDeveloper]
[Authorize]
public ActionResult PostBlog()
{
- if (!ACL.Granted(User.Identity.Name, "CanBlog"))
- return new HttpStatusCodeResult(403);
-
var model = new PostBlogViewModel();
return View(model);
}