Skip to content

Commit

Permalink
append puts the routes after the default, which causes a 404. instead…
Browse files Browse the repository at this point in the history
… use prepend
  • Loading branch information
tenderlove committed Dec 21, 2011
1 parent b5bb3f8 commit 476dce4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/test/application/configuration_test.rb
Expand Up @@ -483,7 +483,7 @@ def create
RUBY RUBY


add_to_config <<-RUBY add_to_config <<-RUBY
routes.append do routes.prepend do
resources :posts resources :posts
end end
RUBY RUBY
Expand Down

0 comments on commit 476dce4

Please sign in to comment.