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/SBogers10/rentman2019.komma.pro/app/Komma/Solutions/SolutionRoutes.php
<?php

namespace App\Komma\Solutions;

use App\Komma\Solutions\Kms\SolutionController as KmsSolutionController;
use App\Komma\Solutions\Models\Solution;
use Illuminate\Support\Facades\Route;

final class SolutionRoutes
{
    public static function get()
    {
        Route::resource('solutions', SolutionController::class, [
            'only' => [
                'index',
                'show',
            ],
        ]);
    }

    public static function kms()
    {
        Route::model('solution', Solution::class); //Explicit route model binding

        Route::resource('{siteSlug}/solutions', KmsSolutionController::class);
        Route::get('api/{siteSlug}/solutions', KmsSolutionController::class.'@getStructureAsJson');
        Route::post('api/{siteSlug}/solutions', KmsSolutionController::class.'@setStructureAsJson');

        Route::post('solutions/{solution}/freshness', KmsSolutionController::class.'@freshness');
    }
}