T
T
Tarasovych2017-05-01 16:00:47
Laravel
Tarasovych, 2017-05-01 16:00:47

Can't get rid of old routes!?

There was a route:

Route::group(['middleware' => ['auth']], function () {

        Route::group(['prefix' => 'admin'], function () {
            Route::get('/home', '[email protected]');
        ...
        });
    });

Replaced with:
Route::group(['middleware' => ['auth']], function () {

        Route::group(['prefix' => 'admin'], function () {
            Route::get('/', '[email protected]');
        });
    });

php artisan route:list
spoiler
81c9524a17f34f6aa7d2b0ac772ec59b.PNGd0fea4605c704189bc52792437a9fa3b.PNG

php artisan route:cache, php artisan route:cleardid not help, the link /homeis still available

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question