Reputation: 51
I have one route with protect by admin authentication(midleware). but I want employer auth can access this route too. how can I do that in contructor.
public function __construct()
{
$this->middleware('auth:admin');
// $this->middleware('auth:employer');
}
Upvotes: 0
Views: 34