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

Use a single term instead of all terms used to describe path and URL helpers together #36254

Merged
merged 1 commit into from
Jul 26, 2019

Conversation

sharang-d
Copy link
Contributor

Fixes #36233.

I agree with the sentiment behind the original issue: We need a single term to say "URL and Route helpers" and this is my attempt at getting there.

I'm open to suggestions for a better term if anyone has any.

@sharang-d sharang-d changed the title Use a single term instead of all terms used to describe path and URL helpers together [ci skip] Use a single term instead of all terms used to describe path and URL helpers together May 11, 2019
Copy link
Member

@rafaelfranca rafaelfranca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"named route helpers" is the correct name for this

@sharang-d
Copy link
Contributor Author

Thanks, I'll use that term.

@sharang-d sharang-d force-pushed the remove-named-helpers branch 3 times, most recently from 967b2e7 to 93bc6d2 Compare July 26, 2019 10:34
@sharang-d
Copy link
Contributor Author

I've pushed the changes.

@@ -210,7 +210,7 @@ end

This will create a number of routes for each of the `articles` and `comments` controller. For `Admin::ArticlesController`, Rails will create:

| HTTP Verb | Path | Controller#Action | Named Helper |
| HTTP Verb | Path | Controller#Action | Route Helper |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should not it be Named Route Helper?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes 😢
Fixed now.

@rafaelfranca rafaelfranca merged commit 7f16fed into rails:master Jul 26, 2019
rafaelfranca added a commit that referenced this pull request Jul 26, 2019
Use a single term instead of all terms used to describe path and URL helpers together
@sharang-d sharang-d deleted the remove-named-helpers branch July 26, 2019 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

docs fixup on named route helpers
2 participants