dingo / dingo/api

The command api:routes only shows Clouse under the Action column [Again]

Open
#1,169 7 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
PHP
Stars
9.4k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

When using simple form router registration:
$api->get('foo/bar', 'FooController@fooAction');
It's ok.

But, when in a complex scenario, like this:

$api->get('foo/bar', ['middleware' => 'api.auth'], 'FooController@fooAction');
$api->get('foo/bar', ['middleware' => 'api.auth', uses => 'FooController@fooAction']);

The command api:routes only shows Clouse under the Action column again :/ .

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.