芝麻web文件管理V1.00
编辑当前文件:/home/digitalh/yeahea.digitalhubbd.com/routes/Common.php
name('locale.change'); // Contact Us Route::post('/contact_us', [ ContactUsController::class, 'send' ])->name('contact_us'); // To view img no need to login Route::get('image/{path}', [ ImageController::class, 'show' ])->where('path', '.*')->name('image.show'); Route::get('order/attachment/{attachment}/{order}/{inventory}/download', [ OrderController::class, 'download' ])->name('order.attachment.download'); Route::middleware(['ajax', 'xssSanitizer'])->group(function () { // Use php helper functions from js Route::get('helper/getFromPHPHelper', [ Admin\AjaxController::class, 'ajaxGetFromPHPHelper' ])->name('helper.getFromPHPHelper'); Route::get('cart/ajax/getTaxRate', [ Admin\ShippingZoneController::class, 'ajaxGetTaxRate' ])->name('ajax.getTaxRate'); Route::get('address/ajax/getCountryStates', [ AddressController::class, 'ajaxCountryStates' ])->name('ajax.getCountryStates'); }); Route::middleware(['auth', 'xssSanitizer'])->group(function () { include 'common/Image.php'; include 'common/Attachment.php'; include 'common/Address.php'; include 'common/Search.php'; });