File: D:/HostingSpaces/SBogers10/momsecurity.komma.nl/app/PostLabels/PostLabelRoutes.php
<?php
namespace App\PostLabels;
use App\PostLabels\Kms\PostLabelController;
use App\PostLabels\Models\PostLabel;
use Illuminate\Support\Facades\Route;
final class PostLabelRoutes
{
/**
* 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 TeamMember
* This is because we use a global controller to resolve the model
*/
public static function kms(){
Route::model('post_label', PostLabel::class); //Explicit route model binding
Route::resource('post_labels', PostLabelController::class);
}
}