21 lines
592 B
PHP
21 lines
592 B
PHP
<?php
|
|
/**
|
|
* Sangh Related Routes.
|
|
*/
|
|
|
|
// Sangh Routes
|
|
use Illuminate\Support\Facades\Route;
|
|
use App\Http\Controllers\Backend\SanghController;
|
|
|
|
Route::group([
|
|
'middleware' => [],
|
|
'as' => 'sanghs.',
|
|
'prefix' => 'sanghs'
|
|
],
|
|
function () {
|
|
Route::get('/', [SanghController::class, 'index'])->name('index');
|
|
Route::get('/listing', [SanghController::class, 'listing'])->name('listing');
|
|
Route::get('{id}/show', [SanghController::class, 'show'])->name('show');
|
|
Route::patch('{id}/update', [SanghController::class, 'update'])->name('update');
|
|
});
|