Fix clear cache errors with duplicate route names #759 (#787)

This commit is contained in:
Nabeel S 2020-08-13 17:53:30 -04:00 committed by GitHub
parent 27316f96e8
commit 4fa58cec5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

View File

@ -103,8 +103,8 @@ class RouteServiceProvider extends ServiceProvider
Route::get('livemap', 'LiveMapController@index')->name('livemap.index'); Route::get('livemap', 'LiveMapController@index')->name('livemap.index');
}); });
Route::get('/logout', 'Auth\LoginController@logout')->name('auth.logout');
Auth::routes(['verify' => true]); Auth::routes(['verify' => true]);
Route::get('/logout', 'Auth\LoginController@logout')->name('logout');
}); });
} }

View File

@ -33,7 +33,7 @@ class InstallerServiceProvider extends ServiceProvider
Route::post('/dbtest', 'InstallerController@dbtest')->name('dbtest'); Route::post('/dbtest', 'InstallerController@dbtest')->name('dbtest');
Route::get('/step1', 'InstallerController@step1')->name('step1'); Route::get('/step1', 'InstallerController@step1')->name('step1');
Route::post('/step1', 'InstallerController@step1')->name('step1'); Route::post('/step1', 'InstallerController@step1')->name('step1post');
Route::get('/step2', 'InstallerController@step2')->name('step2'); Route::get('/step2', 'InstallerController@step2')->name('step2');
Route::post('/envsetup', 'InstallerController@envsetup')->name('envsetup'); Route::post('/envsetup', 'InstallerController@envsetup')->name('envsetup');

View File

@ -3,7 +3,7 @@
@section('content') @section('content')
<p>Press continue to start</p> <p>Press continue to start</p>
{{ Form::open(['route' => 'installer.step1', 'method' => 'post']) }} {{ Form::open(['route' => 'installer.step1post', 'method' => 'post']) }}
<p style="text-align: right"> <p style="text-align: right">
{{ Form::submit('Start >>', ['class' => 'btn btn-success']) }} {{ Form::submit('Start >>', ['class' => 'btn btn-success']) }}
</p> </p>

View File

@ -29,7 +29,7 @@ class UpdateServiceProvider extends ServiceProvider
Route::get('/', 'UpdateController@index')->name('index'); Route::get('/', 'UpdateController@index')->name('index');
Route::get('/step1', 'UpdateController@step1')->name('step1'); Route::get('/step1', 'UpdateController@step1')->name('step1');
Route::post('/step1', 'UpdateController@step1')->name('step1'); Route::post('/step1', 'UpdateController@step1')->name('step1post');
Route::post('/run-migrations', 'UpdateController@run_migrations')->name('run_migrations'); Route::post('/run-migrations', 'UpdateController@run_migrations')->name('run_migrations');
Route::get('/complete', 'UpdateController@complete')->name('complete'); Route::get('/complete', 'UpdateController@complete')->name('complete');

View File

@ -4,7 +4,7 @@
@section('content') @section('content')
<h2>phpvms updater</h2> <h2>phpvms updater</h2>
<p>Press continue to check if there are any updates available.</p> <p>Press continue to check if there are any updates available.</p>
{{ Form::open(['route' => 'update.step1', 'method' => 'post']) }} {{ Form::open(['route' => 'update.step1post', 'method' => 'post']) }}
<p style="text-align: right"> <p style="text-align: right">
{{ Form::submit('Start >>', ['class' => 'btn btn-success']) }} {{ Form::submit('Start >>', ['class' => 'btn btn-success']) }}
</p> </p>