Skip to content

Commit

Permalink
Исправление роутов
Browse files Browse the repository at this point in the history
  • Loading branch information
delaynore committed May 24, 2024
1 parent 31bab3d commit 40e936a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,11 @@

Route::delete('concept/{concept}/examples/{exampleNumber}', [ConceptAttributeValueController::class, 'destroy'])->name('concept.example.destroy');
Route::get('concept/{concept}/examples/{exampleNumber}', [ConceptAttributeValueController::class, 'edit'])->name('concept.example.edit');
Route::put('concept/{concept}/examples/{exampleNumber}', [ConceptAttributeValueController::class, 'edit'])->name('concept.example.update');
Route::put('concept/{concept}/examples/{exampleNumber}', [ConceptAttributeValueController::class, 'update'])->name('concept.example.update');

Route::resource('concept/{concept}/example', ConceptAttributeValueController::class)->only(['store', 'update', 'create'])->names([
'create' => 'concept.example.create',
'store' => 'concept.example.store',
'update' => 'concept.example.update',
'edit' => 'concept.example.edit',
]);

Route::resource('tags', TagController::class)->names([
Expand Down

0 comments on commit 40e936a

Please sign in to comment.