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');
}
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2Gfw4Kb
via IFTTT
Aucun commentaire:
Enregistrer un commentaire