FleetCart/Modules/Transaction/Routes/admin.php
2023-12-03 14:07:47 +00:00

16 lines
414 B
PHP

<?php
use Illuminate\Support\Facades\Route;
Route::get('transactions', [
'as' => 'admin.transactions.index',
'uses' => 'TransactionController@index',
'middleware' => 'can:admin.transactions.index',
]);
Route::get('transactions/index/table', [
'as' => 'admin.transactions.table',
'uses' => 'TransactionController@table',
'middleware' => 'can:admin.transactions.index',
]);