Answer the question
In order to leave comments, you need to log in
Is it possible to assign a proxy to a group of routes in laravel?
So it goes.
Route::prefix('owner')->group(function () {
// routes
})->middleware('owner');
Answer the question
In order to leave comments, you need to log in
Route::group(['prefix' => 'owner', 'middleware' => 'owner'], function () {
// ...
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question