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:
parent
e68b72dbc4
commit
d4a4fcbc93
1 changed files with 1 additions and 1 deletions
|
@ -479,7 +479,7 @@ module ApplicationTests
|
|||
RUBY
|
||||
|
||||
add_to_config <<-RUBY
|
||||
routes.append do
|
||||
routes.prepend do
|
||||
resources :posts
|
||||
end
|
||||
RUBY
|
||||
|
|
Loading…
Reference in a new issue