Which of the following is correct to define middleware for multiple views in controller file?
Correct Answer: public function __construct() { $this->middleware('admin', ['only' => ['create', 'edit', 'show']]); }
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Laravel Framework MCQ Questions