File: D:/HostingSpaces/SBogers95/rentman.io/app/Komma/SiteConfig/SiteConfigRoutes.php
<?php
namespace App\Komma\SiteConfig;
use App\Komma\SiteConfig\Kms\SiteConfigController as KmsSiteConfigController;
use App\Komma\SiteConfig\Models\SiteConfig;
use Illuminate\Support\Facades\Route;
final class SiteConfigRoutes
{
/**
* Routes that are used for and within the KMS
* Will be prefixed with 'kms' by the Route::group in the RouteResolver
*
* Note: Within the group we use the Explicit Route Model Binding to point to a SiteConfig
* This is because we use a global controller to resolve the model
*/
public static function kms()
{
Route::model('siteconfig', SiteConfig::class); //Explicit route model binding
Route::resource('siteconfig', KmsSiteConfigController::class);
}
}