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
5 changed files with 5 additions and 5 deletions

View File

@@ -29,7 +29,7 @@ class UpdateServiceProvider extends ServiceProvider
Route::get('/', 'UpdateController@index')->name('index');
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::get('/complete', 'UpdateController@complete')->name('complete');

View File

@@ -4,7 +4,7 @@
@section('content')
<h2>phpvms updater</h2>
<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">
{{ Form::submit('Start >>', ['class' => 'btn btn-success']) }}
</p>