-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
Asking user to declare post resource in getting start guide #11127
Asking user to declare post resource in getting start guide #11127
Conversation
Can you add [ci skip] in commit message also? And force push again? |
@arunagw done |
Rails provides a `resources` method which can be used to declare a | ||
standard REST resource. Here's how `config/routes.rb` will look like. | ||
Rails provides a `resources` method which can be used to declare a standard REST resource. | ||
Here's how `config/routes.rb` should look like after _post resource_ is declared. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Something about this sentence sounds very strange to me, but I can't put my finger on it. Let's see what @fxn thinks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It sounds better to me if you change "how" to "what" so it reads:
Here's what config/routes.rb
should look like after the post resource is declared.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was also missing a "the".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alexrothenberg @davidcelis thanks, I have added fixes
@pftg can you please squash the commits? |
@senny done! |
…s_in_guide Asking user to declare post resource in getting start guide
Closes #11122
Changed getting start guide to ask to add
resources :post
intoconfig/routes.rb
/cc @senny