route('admin.login'); }); Route::group(['prefix' => 'admin'], function () { Route::get('/', 'AdminAuth\LoginController@showLoginForm')->name('admin.login'); Route::post('/login', 'AdminAuth\LoginController@login')->name('admin.login.request'); // Route::get('/register', 'AdminAuth\RegisterController@showRegistrationForm')->name('admin.register'); // Route::post('/register', 'AdminAuth\RegisterController@register'); // Route::post('/password/email', 'AdminAuth\ForgotPasswordController@sendResetLinkEmail')->name('admin.password.request'); // Route::post('/password/reset', 'AdminAuth\ResetPasswordController@reset')->name('admin.password.email'); // Route::get('/password/reset', 'AdminAuth\ForgotPasswordController@showLinkRequestForm')->name('admin.password.reset'); // Route::get('/password/reset/{token}', 'AdminAuth\ResetPasswordController@showResetForm'); }); Route::get('/clear-cache', function() { $exitCode = Artisan::call('config:clear'); $exitCode = Artisan::call('cache:clear'); $exitCode = Artisan::call('config:cache'); $exitCode = Artisan::call('view:clear'); return 'DONE Sir'; });