StocksNew/Modules/PMS/routes/web.php
Sampanna Rimal 53c0140f58 first commit
2024-08-27 17:48:06 +05:45

33 lines
1.2 KiB
PHP

<?php
use Illuminate\Support\Facades\Route;
use Modules\PMS\Http\Controllers\ClientController;
use Modules\PMS\Http\Controllers\PMSController;
use Modules\PMS\Http\Controllers\ProjectController;
use Modules\PMS\Http\Controllers\TaskController;
use Modules\PMS\Http\Controllers\TicketController;
/*
|--------------------------------------------------------------------------
| 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('pms', PMSController::class)->names('pms');
Route::resource('client', ClientController::class)->names('client');
Route::resource('project', ProjectController::class)->names('project');
Route::get('task/kanban', [TaskController::class, 'kanban'])->name('task.kanban');
Route::get('task/changeStatus', [TaskController::class, 'changeStatus'])->name('task.changeStatus');
Route::resource('task', TaskController::class)->names('task');
Route::resource('ticket', TicketController::class)->names('ticket');
});