mirror of
https://github.com/brunofontes/shareit.git
synced 2025-11-15 16:00:54 -03:00
Including Edit Product
This commit is contained in:
@@ -18,6 +18,8 @@ Route::get('/', function () {
|
||||
Route::get('/product', 'ProductController@index')->middleware('auth');
|
||||
Route::get('/product/{product}', 'ProductController@show')->middleware('auth');
|
||||
Route::post('/product', 'ProductController@store')->middleware('auth');
|
||||
Route::patch('/product', 'ProductController@patch')->middleware('auth');
|
||||
Route::delete('/product', 'ProductController@delete')->middleware('auth');
|
||||
|
||||
Route::get('/item', 'ItemController@index')->middleware('auth');
|
||||
Route::get('/item/{item}', 'ItemController@show')->middleware('auth');
|
||||
|
||||
Reference in New Issue
Block a user