Skip to content
Browse files

append puts the routes after the default, which causes a 404. instead…

… use prepend
  • Loading branch information...
1 parent b5bb3f8 commit 476dce4fc4bba7803bdef69635054dbf2fe3dd1b @tenderlove tenderlove committed Dec 21, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/test/application/configuration_test.rb
View
2 railties/test/application/configuration_test.rb
@@ -483,7 +483,7 @@ def create
RUBY
add_to_config <<-RUBY
- routes.append do
+ routes.prepend do
resources :posts
end
RUBY

0 comments on commit 476dce4

Please sign in to comment.
Something went wrong with that request. Please try again.