Including Edit Product

This commit is contained in:
2018-09-16 20:43:14 -03:00
parent be39b48dc3
commit 0edbfa0fdb
9 changed files with 129 additions and 77 deletions

View File

@@ -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');