Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel route group name

Route::group(['prefix'=>'accounts','as'=>'account.'], function(){
    Route::get('/', ['as' => 'index', 'uses' => 'AccountController@index']);
    Route::get('connect', ['as' => 'connect', 'uses' = > 'AccountController@connect']);
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #route #group
ADD COMMENT
Topic
Name
9+1 =