first commit
This commit is contained in:
28
Modules/Product/routes/web.php
Normal file
28
Modules/Product/routes/web.php
Normal file
@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Support\Facades\Route;
|
||||
use Modules\Product\Http\Controllers\CategoryController;
|
||||
use Modules\Product\Http\Controllers\ProductController;
|
||||
use Modules\Product\Http\Controllers\SubCategoryController;
|
||||
use Modules\Product\Http\Controllers\WarehouseController;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Web Routes
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here is where you can register web routes for your application. These
|
||||
| routes are loaded by the RouteServiceProvider within a group which
|
||||
| contains the "web" middleware group. Now create something great!
|
||||
|
|
||||
*/
|
||||
|
||||
Route::group([], function () {
|
||||
Route::resource('product', ProductController::class)->names('product');
|
||||
Route::resource('category', CategoryController::class)->names('category');
|
||||
Route::resource('sub-category', SubCategoryController::class)->names('subCategory');
|
||||
Route::resource('warehouse', WarehouseController::class)->names('warehouse');
|
||||
Route::get('get-sub-categories', [SubCategoryController::class, 'getSubCategories'])->name('getSubCategories');
|
||||
|
||||
|
||||
});
|
Reference in New Issue
Block a user