22 lines
625 B
PHP
22 lines
625 B
PHP
<?php
|
|
/**
|
|
* Sant Related Routes.
|
|
*/
|
|
|
|
use App\Http\Controllers\Backend\SantController;
|
|
use App\Http\Controllers\Backend\ViharController;
|
|
|
|
// Sant Routes
|
|
Route::group(
|
|
['middleware' => [
|
|
//
|
|
]], function () {
|
|
|
|
Route::group(['as' => 'sant.vihar.', 'prefix' => 'sant/{sant}/vihar'], function () {
|
|
Route::get('get-listing', [ViharController::class, 'getViharListing'])->name('get-listing');
|
|
Route::post('grid-records-action', [ViharController::class, 'gridRecordsAction'])->name('grid.records.action');
|
|
});
|
|
|
|
Route::resource('sant.vihar', ViharController::class)->except(['show']);
|
|
});
|