File: D:/HostingSpaces/SBogers10/farmfun.komma.pro/app/Komma/CalendarBlockOuts/CalendarBlockOutRoutes.php
<?php
namespace App\Komma\CalendarBlockOuts;
use App\Komma\CalendarBlockOuts\Kms\CalendarBlockOutController as KmsCalendarBlockOutController;
use App\Komma\CalendarBlockOuts\Models\CalendarBlockOut;
use Illuminate\Support\Facades\Route;
final class CalendarBlockOutRoutes
{
/**
* 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 CalendarBlockOut
* This is because we use a global controller to resolve the model
*/
public static function kms()
{
Route::model('calendarblockout', CalendarBlockOut::class); //Explicit route model binding
Route::resource('calendarblockouts', KmsCalendarBlockOutController::class);
}
}