-
-
Notifications
You must be signed in to change notification settings - Fork 247
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 I mount a POST route? #177
Comments
Hey Rik, What do you mean by mounting a new route inner a route? |
Hi BaseMax, That's indeed what I want to do, the above method works with |
This way, you can add multiple subroutes under the api/social route like this:
})` |
The following code works:
$router->post('/api/social/contact', 'SocialController@contact');
But this code doesn't:
Note that there is no method specified in the
mount
statement.Am I missing something?
The text was updated successfully, but these errors were encountered: