Move root method at TOP of routes file #6440

Merged
merged 1 commit into from May 22, 2012

Conversation

Projects
None yet
2 participants
Contributor

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

@gaurish gaurish Move root method at TOP of routes file
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
43fa48e

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