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/SBogers95/rentman.io/app/Komma/Shop/Categories/categoryRoutes.php
<?php

use App\Komma\Shop\Categories\CategoryController as FrontendCategoryController;
use App\Komma\Shop\Categories\Kms\CategoryController as BackendCategoryController;

Route::model('category', App\Komma\Shop\Categories\Models\Category::class); //Explicit route model binding

//Authenticated routes
Route::group(['middleware' => ['auth']], function () {
    Route::resource('kms/categories', BackendCategoryController::class);
    Route::get('kms/api/categories', BackendCategoryController::class.'@getStructureAsJson');
    Route::post('kms/api/categories', BackendCategoryController::class.'@setStructureAsJson');
});

Route::resource('categories', FrontendCategoryController::class, ['only' => [
    'index', 'show',
]])->names([
    'index' => 'frontend.categories.index',
    'show' => 'frontend.categories.show',
]);

Route::get('categories/filters', FrontendCategoryController::class.'@filters');