Open GregorVoelkl opened 7 years ago
Any Updates for this issue
I think this is working now but could you check this
// this is working
Route::group(['as' => 'admin.'], static function() {
Route::resource('seasons', 'Admin\SeasonsController')->except('show', 'destroy');
});
// this is not working but it is the same as the previouse one
Route::name('admin.')->group(static function() {
Route::resource('seasons', 'Admin\SeasonsController')->except('show', 'destroy');
});
Currently there is the feature to complete route names like
Route::get('/login', 'Administration\Auth\LoginController@showLoginForm') ->name('loginForm');
For the name autocompetion is supported in functions like route('loginForm');
It would be nice to support this in Route Groups, that use the 'as' Parameter like in
The autocmpletion only proposes 'dashboard' but should propose 'admin::dashboard'