FleetCart/Modules/Wishlist/Routes/public.php

10 lines
391 B
PHP
Raw Normal View History

2023-06-11 12:14:03 +00:00
<?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');
});