change old route

This commit is contained in:
Ludovic CANDELLIER
2022-02-17 11:44:47 +01:00
parent 715e228b41
commit 5bf3b7ec7b
2 changed files with 1 additions and 2 deletions

View File

@@ -6,7 +6,7 @@
@section('content')
{{ Form::open(['route' => 'Admin.Shop.TagGroups.update', 'id' => 'tag-group-form', 'autocomplete' => 'off']) }}
{{ Form::open(['route' => 'Admin.Shop.TagGroups.store', 'id' => 'tag-group-form', 'autocomplete' => 'off']) }}
<input type="hidden" name="id" value="{{ $id }}">
@include('Admin.Shop.TagGroups.form')
</form>

View File

@@ -4,7 +4,6 @@ Route::prefix('TagGroups')->name('TagGroups.')->group(function () {
Route::get('', 'TagGroupController@index')->name('index');
Route::get('create', 'TagGroupController@create')->name('create');
Route::delete('destroy/{id?}', 'TagGroupController@destroy')->name('destroy');
Route::post('update', 'TagGroupController@update')->name('update');
Route::post('store', 'TagGroupController@store')->name('store');
Route::get('edit/{id}', 'TagGroupController@edit')->name('edit');