File: D:/HostingSpaces/SBogers95/rentman.io/app/Komma/PricingLabels/PricingLabelRoutes.php
<?php
namespace App\Komma\PricingLabels;
use App\Komma\PricingLabels\Kms\PricingLabelController as KmsPricingLabelController;
use App\Komma\PricingLabels\Models\PricingLabel;
use Illuminate\Support\Facades\Route;
final class PricingLabelRoutes
{
public static function get()
{
// Route::get('/pricing-labels/oneSkyExport', PricingLabelController::class.'@oneSkyExport');
}
/**
* 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 PricingLabel
* This is because we use a global controller to resolve the model
*/
public static function kms()
{
Route::model('pricinglabel', PricingLabel::class); //Explicit route model binding
Route::resource('pricinglabels', KmsPricingLabelController::class);
}
}