Files
aroginhealthcare/Modules/Activity/routes/web.php
2025-08-17 16:23:14 +05:45

40 lines
1.2 KiB
PHP

<?php
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| 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(
[
'prefix' => 'apanel',
'middleware' => ['auth'],
'as' => 'cms.',
],
function () {
Route::group(
[
'prefix' => 'cms',
'as' => 'activities.',
'controller' => 'ActivityController',
],
function () {
Route::get('activities', 'index')->name('index');
Route::get('activities/create', 'create')->name('create');
Route::post('activities/store', 'store')->name('store');
Route::get('activities/{uuid}/edit', 'edit')->name('edit');
Route::put('activities/{uuid}/update', 'update')->name('update');
Route::delete('activities/{uuid}/delete', 'destroy')->name('delete');
}
);
}
);