HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/Eurotools/euro-tools.nl/app/KommaApp/CustomerService/customerServiceRoutes.php
<?php
//CustomerServices routes
use App\KommaApp\CustomerService\CustomerServiceController as FrontendCustomerServiceController;
use App\KommaApp\CustomerService\Kms\CustomerServiceController as BackendCustomerServiceController;


Route::model('customerservice', App\KommaApp\CustomerService\Models\CustomerService::class); //Explicit route model binding

Route::group(['middleware' => ['auth']], function() {
    Route::resource('kms/customerservice', BackendCustomerServiceController::class);
    Route::get('kms/api/customerservice', BackendCustomerServiceController::class.'@getCustomerServiceStructureAsJson');
    Route::post('kms/api/customerservice', BackendCustomerServiceController::class.'@setCustomerServiceStructureAsJson');
});

Route::get('/customerservice/{CustomerService}', FrontendCustomerServiceController::class.'@show');