Chore: Extracting Wishlist from 3dealer to Core
This commit is contained in:
1 parent
e7c896e168
commit
492447be51
10 files changed
+334
No files matched your search
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Support\Facades\Route;
|
||||
use Modules\Core\Wishlist\Http\Controllers\WishlistController;
|
||||
|
||||
Route::post('wishlist/{productId}', [WishlistController::class, 'toggle'])
|
||||
->whereNumber('productId')
|
||||
->middleware('throttle:60,1')
|
||||
->name('wishlist.toggle');
|
||||
Reference in new issue
Block a user