mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
append puts the routes after the default, which causes a 404. instead use prepend
This commit is contained in:
@@ -483,7 +483,7 @@ module ApplicationTests
|
||||
RUBY
|
||||
|
||||
add_to_config <<-RUBY
|
||||
routes.append do
|
||||
routes.prepend do
|
||||
resources :posts
|
||||
end
|
||||
RUBY
|
||||
|
||||
Reference in New Issue
Block a user