Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't go to controller if using Namespace in routes #2

Open
tavsta opened this issue Jan 28, 2021 · 0 comments
Open

Can't go to controller if using Namespace in routes #2

tavsta opened this issue Jan 28, 2021 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@tavsta
Copy link

tavsta commented Jan 28, 2021

Route.group('User', () => {
    Route.post('booking', 'BookingController.book');
})
    .prefix('delivery/api/user')
    .middleware(['auth:user'])
    .namespace('User');

Because of using Namespace, it can't go to controller.

@stef-k stef-k added enhancement New feature or request help wanted Extra attention is needed labels Jan 28, 2021
@stef-k stef-k pinned this issue Jan 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants