Files
new_raffles/Modules/CostCalculator/routes/web.php

20 lines
690 B
PHP

<?php
use Illuminate\Support\Facades\Route;
use Modules\CostCalculator\Http\Controllers\CostCalculatorController;
/*
|--------------------------------------------------------------------------
| 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(['middleware' => ['web', 'auth', 'permission'], 'prefix' => 'admin/'], function () {
Route::resource('cost-calculator', CostCalculatorController::class)->names('cost');
});