rename models and associates, isolate botanic with shop
This commit is contained in:
12
routes/Shop/Admin/Categories.php
Normal file
12
routes/Shop/Admin/Categories.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
Route::prefix('Categories')->name('Categories.')->group(function () {
|
||||
Route::get('', 'CategoryController@index')->name('index');
|
||||
Route::get('create', 'CategoryController@create')->name('create');
|
||||
Route::delete('destroy', 'CategoryController@destroy')->name('destroy');
|
||||
Route::post('update', 'CategoryController@update')->name('update');
|
||||
Route::post('store', 'CategoryController@store')->name('store');
|
||||
Route::get('edit/{id}', 'CategoryController@edit')->name('edit');
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user