mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-24 13:33:34 +08:00
- Making client slug generation (via POST) container aware to aid in unique slug generation
- Changing Slugify URL (from /common/routable/slugify) to /admin/common/routable/slugify --HG-- extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4045745
This commit is contained in:
@@ -202,7 +202,7 @@ namespace Orchard.Blogs.Controllers {
|
||||
}
|
||||
|
||||
public ActionResult Publish(string blogSlug, string postSlug) {
|
||||
if (!_services.Authorizer.Authorize(Permissions.PublishPost, T("Couldn't publish blog post")))
|
||||
if (!_services.Authorizer.Authorize(Permissions.PublishBlogPost, T("Couldn't publish blog post")))
|
||||
return new HttpUnauthorizedResult();
|
||||
|
||||
//TODO: (erikpo) Move looking up the current blog up into a modelbinder
|
||||
|
Reference in New Issue
Block a user