idea-php-laravel-plugin icon indicating copy to clipboard operation
idea-php-laravel-plugin copied to clipboard

Route autocompletion not working if 'as' used in groups

Open alexey05 opened this issue 9 years ago • 1 comments

If we're grouping routes and using 'as' and then give a name to a route, autocompletion not working. For example we have this route.

Route::group(['as' => 'admin.'], function () {
    Route::post('/user', 'UserController@store')->name('user.store');
});

And then somewhere (in controller for example) we write

route('admin')

I expect that plugin will suggest me 'admin.user.store', but I can see only 'No suggestions' error.

alexey05 avatar Sep 16 '16 05:09 alexey05

#98

adelf avatar Jan 19 '17 04:01 adelf