Open smares opened 1 year ago
Hi.
$router->group([
'namespace' => '\App\Http\Candidates\Controllers',
'middleware' => [
$corsMiddleware,
],
], function () use ($router) {
$router->get('/me', 'CandidateController@show');
// ...
});
It should work like that. Currently, Laravel Idea can't parse group config extracted to variable.
Just tried that, but it didn't work. Do I have to trigger re-indexing or something?
Could you show how you register this route file in the bootstrap/app.php?
It's registered dynamically based on an environment value. app.php
loads routes/web.php
and in web.php
there's a switch
. Based on that, it require
s the proper route file.
Feature Description
In a Lumen project (correctly identified as Lumen 8.3), I have the following route definition:
However, I cannot click on
CandidateController@show
to have the IDE take me to that action. Anything you (or I) can do about it?