Skip to content

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

Open
@netojose

Description

@netojose

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 :/ .

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions