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' ]);

    }



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire