We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
hanami generate action web books#create
doesn't generate (as mentionned in the book):
post '/books', to: 'books#create'
but
get '/books', to: 'books#create'
The text was updated successfully, but these errors were encountered:
Hello! For generate action with specific method you need to use --method key. For example:
--method
$ hanami generate action web books#create --method=post
Sorry, something went wrong.
That makes sense. Much better than the framework guessing. So the getting started on that matter is misleading.
@sebabouche I updated getting start guide too.
@sebabouche @davydovanton Thank you all 👍
No branches or pull requests
doesn't generate (as mentionned in the book):
but
The text was updated successfully, but these errors were encountered: