I have 2 different tables, user and admin. There are 2 middleware as I told you before. I want to make the blade accessible for both user and admin. I'm using middleware in the controller. Like this:
public function __construct()
{
$this->middleware('auth');
}
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire