I want to use two middleware in __construct method in my controller. I was searching in google last few hours but didn't find any useful resource.
Here is my __construct with middleware:
public function __construct()
{
$this->middleware('adminuser');
$this->middleware('generaluser')->only('quizDetails','validateQuiz','attemptQuiz','submitQuiz','saveAnswer','setIndividualTime');
}
I want to give access those generaluser middleware method for General user. How i do that?
Please help me to solve this issues.
Thanks