Route isn't working

Posted 5 months ago by alphadev

hi initially it was working but when i add middleware in it (, 'middleware'=>['auth','admin'], 'prefix'=>'admin') then it says page not found:

Route::group(['as'=>'admin.', 'middleware'=>['auth','admin'], 'prefix'=>'admin'], function () {

    Route::get('/admin/dashboard','[email protected]')->name('dashboard');

});

Please sign in or create an account to participate in this conversation.