samedi 30 janvier 2016

More than only one methods to authentication middleware on laravel

I am having this on my laravel project and i want to add more methods to the exept array. And i could not figure it out how i should write it?

public function __construct()
    {
    $this->middleware('auth', [ 'except' => 'index' ]);

    }



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/20dEKZk
via IFTTT

Aucun commentaire:

Enregistrer un commentaire