Closed zolotov88 closed 5 years ago
Rote $api->post('signup', ['as' => 'signup', 'uses' => [AuthController::class, 'signUp']]); is not working. Rote $api->post('signup', [AuthController::class, 'signUp']); is not working
$api->post('signup', ['as' => 'signup', 'uses' => [AuthController::class, 'signUp']]);
$api->post('signup', [AuthController::class, 'signUp']);
Expecting that it can work like laravel routes
Because Dingo uses it's own router, not everything that Laravel supports is available in Dingo.
Not going to address this because before too long the routing will be re-done anyway.
Actual Behaviour
Rote
$api->post('signup', ['as' => 'signup', 'uses' => [AuthController::class, 'signUp']]);
is not working. Rote$api->post('signup', [AuthController::class, 'signUp']);
is not workingExpected Behaviour
Expecting that it can work like laravel routes