1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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

This commit is contained in:
Aaron Patterson 2011-12-21 14:54:39 -07:00
parent e68b72dbc4
commit d4a4fcbc93

View file

@ -479,7 +479,7 @@ module ApplicationTests
RUBY
add_to_config <<-RUBY
routes.append do
routes.prepend do
resources :posts
end
RUBY