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

Route::webHooks(..) not correctly named #3

Closed
corbosman opened this issue Jun 19, 2019 · 1 comment
Closed

Route::webHooks(..) not correctly named #3

corbosman opened this issue Jun 19, 2019 · 1 comment

Comments

@corbosman
Copy link
Contributor

corbosman commented Jun 19, 2019

Hi, in your documentation you say that Route::webHooks(..) should be called, but your code registers a macro webhooks. (without capital H). I wasn't sure if your documentation or your code is wrong, so I didnt do a PR.

This issue causes an exception

{"exception":"[object] (InvalidArgumentException(code: 0): Attribute [webHooks] does not exist. at /Users/cor/Code/docker-webhook/vendor/laravel/framework/src/Illuminate/Routing/RouteRegistrar.php:94)
@freekmurze
Copy link
Member

Fixed it in the readme. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants