Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel route namespace and prefix

Route::name('admin.')->group(function () {
    Route::get('/users', function () {
        // Route assigned name "admin.users"...
    })->name('users');
});
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #laravel #route #namespace #prefix
ADD COMMENT
Topic
Name
9+3 =