Answers for "laravel route only and except"

0

laravel except route

Route::resource('subproperty','SubpropertyController', ['except'=>['create','edit']])
Posted by: Guest on October-02-2020
0

laravel route only and except

use App\Http\Controllers\PhotoController;

Route::resource('photos', PhotoController::class)->only([
    'index', 'show'
]);

Route::resource('photos', PhotoController::class)->except([
    'create', 'store', 'update', 'destroy'
]);
Posted by: Guest on July-24-2021
-1

laravel except route

Route::resource('videos', 'VideoController')->except('show');
Posted by: Guest on October-02-2020

Code answers related to "laravel route only and except"

Browse Popular Code Answers by Language