Skip to content

Commit

Permalink
Fix web.php for destroying trashed Federations
Browse files Browse the repository at this point in the history
  • Loading branch information
JanOppolzer committed Nov 25, 2024
1 parent 292b3a3 commit 452ea37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
Route::post('federations/{federation}/entities', [FederationEntityController::class, 'store'])->name('federations.entities.store')->withTrashed();
Route::delete('federations/{federation}/entities', [FederationEntityController::class, 'destroy'])->name('federations.entities.destroy')->withTrashed();

Route::resource('federations', FederationController::class)->withTrashed();
Route::resource('federations', FederationController::class)->withTrashed(['show', 'destroy']);

// Categories
Route::resource('categories', CategoryController::class)->only('index', 'show');
Expand Down

0 comments on commit 452ea37

Please sign in to comment.