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

Move root method at TOP of routes file #6440

Merged
merged 1 commit into from May 22, 2012
Merged

Move root method at TOP of routes file #6440

merged 1 commit into from May 22, 2012

Conversation

gaurish
Copy link
Contributor

@gaurish gaurish commented May 22, 2012

Made the change as per the following text in routing guide:-
"You should put the root route at the top of the file,
because it is the most popular route and should be matched first."

However, if root is best left at bottom. We will have change text in guide. so both things don't contradict

Made the change as per the following text in routing guide:-
"You should put the root route at the top of the file,
because it is the most popular route and should be matched first."

However, if root is best left at bottom. We will change to fix that text
jeremy added a commit that referenced this pull request May 22, 2012
Move root method at TOP of routes file
@jeremy jeremy merged commit 1d4d731 into rails:master May 22, 2012
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