'/admin/facility'], function () { Route::resource('facility', 'FacilityAdminController'); }); // User routes for facility Route::group(['prefix' => '/user/facility'], function () { Route::resource('facility', 'FacilityUserController'); }); // Public routes for facility Route::get('facilities/', 'FacilityPublicController@index'); Route::get('facilities/{slug?}', 'FacilityPublicController@show');