Level 54
@mahaveer are you looking at the following?
Route::group(['middleware' => 'auth'], function() {
Route::get('import', 'ImportController@index')->name('import');
});
and
Route::group(['prefix' => 'admin', 'middleware' => ['auth','can:isAdmin']], function() {
Route::get('import', 'Admin\ImportController@index')->name('import');
});
so your first route is available to everyone, and uses ImportController and second route is only available to admin and uses Admin\ImportController?
if you want to use multiple middlewares for a group you need to specify as an array as above