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

match method doc fix [ci skip] #20378

Merged
merged 1 commit into from May 30, 2015
Merged

match method doc fix [ci skip] #20378

merged 1 commit into from May 30, 2015

Conversation

meinac
Copy link
Contributor

@meinac meinac commented May 30, 2015

match method without setting :via option has been deprecated

# match 'path', to: 'controller#action'
# match 'path', 'otherpath', on: :member, via: :get
# Matches a url pattern to one or more routes.
# For mor information, see match[rdoc-ref:Base#match].
Copy link
Contributor

Choose a reason for hiding this comment

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

Typo in more

match method without setting `:via` option has been deprecated

fix minor typo
@meinac
Copy link
Contributor Author

meinac commented May 30, 2015

@kaspth Nice catch 😄

kaspth added a commit that referenced this pull request May 30, 2015
@kaspth kaspth merged commit eefd4c0 into rails:master May 30, 2015
@kaspth
Copy link
Contributor

kaspth commented May 30, 2015

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

Successfully merging this pull request may close these issues.

None yet

2 participants