I am using Zizaco/entrust laravel package as a ACL Manager for my project.
I know that for limit access to a route group via middlewares and assign a role (or permissio
You can assign middlewares in your controller's constructor:
class Foo extends Conroller { public function __construct() { $this->middleware('post-create', ['only' => ['create']]); $this->middleware('post-edit', ['only' => ['edit']]); } }