mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-23 06:24:03 +00:00
13 lines
714 B
PHP
13 lines
714 B
PHP
<?php
|
|
|
|
use Illuminate\Support\Facades\Route;
|
|
|
|
Route::group(['prefix' => 'service_type', 'as' => 'service_type.', 'namespace' => 'ServiceTypes'], function () {
|
|
Route::get('/{id}/show', 'FetchServiceTypeController@fetch')->name('show');
|
|
Route::get('/list', 'ListServiceTypesController@list')->name('list');
|
|
Route::post('/create', 'CreateServiceTypeController@create')->name('create');
|
|
Route::put('/update/{id}', 'UpdateServiceTypeController@update')->name('update');
|
|
Route::put('/status/{id}/{status}', 'UpdateServiceTypeStatusController@activate')->where('status', 'active|inactive')->name('status');
|
|
Route::delete('/delete/{id}', 'DeleteServiceTypeController@destroy')->name('delete');
|
|
});
|