FleetCart/Modules/Wishlist/Routes/public.php
2023-12-03 14:07:47 +00:00

10 lines
391 B
PHP

<?php
use Illuminate\Support\Facades\Route;
Route::middleware('auth')->group(function () {
Route::post('wishlist', 'WishlistController@store')->name('wishlist.store');
Route::delete('wishlist/{productId}', 'WishlistController@destroy')->name('wishlist.destroy');
Route::get('wishlist/products', 'WishlistProductController@index')->name('wishlist.products.index');
});