Upgrade config/routes.rb and spec/requests/static_pages_spec.rb files.