mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
12 lines
443 B
PHP
12 lines
443 B
PHP
<?php
|
|
|
|
use Illuminate\Support\Facades\Route;
|
|
|
|
Route::group(['namespace' => 'Documents'], function () {
|
|
Route::group(['middleware' => 'valid.token'], function () {
|
|
Route::group(['prefix' => 'document'], function () {
|
|
Route::get('/list', 'ListDocumentsController@list')->name('document.list');
|
|
Route::put('/approve/{id}', 'ApproveDocumentController@approve')->name('document.approve');
|
|
});
|
|
});
|
|
}); |