We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a497386 + 837f5c4 commit 026bcf9Copy full SHA for 026bcf9
routes/web.php
@@ -56,10 +56,13 @@
56
/**
57
* Item Routes
58
*/
59
+Route::middleware(['throttle:10,1'])->group(function () {
60
+ Route::get('/items/websitelookup/{url}', [ItemController::class, 'websitelookup'])->name('lookup');
61
+});
62
+
63
Route::resource('items', ItemController::class);
64
65
Route::name('items.')->prefix('items')->group(function () {
- Route::get('/websitelookup/{url}', [ItemController::class, 'websitelookup'])->name('lookup');
66
Route::get('/pin/{id}', [ItemController::class, 'pin'])->name('pin');
67
Route::get('/restore/{id}', [ItemController::class, 'restore'])->name('restore');
68
Route::get('/unpin/{id}', [ItemController::class, 'unpin'])->name('unpin');
0 commit comments