Commit 2e290d69b883fa00da4548408f5df91418c77f98
1 parent
07a27506bc
Exists in
master
Роуты
Showing 2 changed files with 5 additions and 14 deletions Side-by-side Diff
public/index__.php
routes/web.php
... | ... | @@ -365,14 +365,3 @@ Route::get('workers/profile/{worker}', [WorkerController::class, 'profile'])->na |
365 | 365 | |
366 | 366 | //Страница вакансии |
367 | 367 | Route::get('employer/ad/{ad_employer}', [AdEmployerController::class, 'ad_employer'])->name('ad-employer'); |
368 | - | |
369 | -Route::get('clear/', function() { | |
370 | - Artisan::call('config:cache'); | |
371 | - Artisan::call('cache:clear'); | |
372 | - Artisan::call('config:clear'); | |
373 | - Artisan::call('view:clear'); | |
374 | - Artisan::call('route:clear'); | |
375 | - exec('rm -f ' . storage_path('logs/.log')); | |
376 | - exec('rm -f ' . base_path('.log')); | |
377 | - return "Cache is cleared"; | |
378 | -})->name('clear.cache'); |