Fixed everyone could feature posts
This commit is contained in:
parent
40197d6c39
commit
796c2d1b1f
1 changed files with 1 additions and 0 deletions
|
@ -152,6 +152,7 @@ final class PostController extends AbstractController
|
|||
|
||||
public function featurePost($postNameOrId)
|
||||
{
|
||||
$this->privilegeService->assertPrivilege(Privilege::FEATURE_POSTS);
|
||||
$post = $this->postService->getByNameOrId($postNameOrId);
|
||||
$this->postFeatureService->featurePost($post);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue