you can use $this->middleware('auth') in your controller __construct method. http://laravel.com/docs/5.0/controllers#controller-middleware
please i have a new problem yeah. How do i write a resource middleware to make sure that he can only update his profile and not others
You can use something like ``` Gate::class
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us