---
title: "rails的welcome page"
author: "together"
date: "2006-12-29T15:09:35Z"
tags: []
slug: "rails-welcome-page"
draft: false
lastmod: "2006-12-29T15:09:35Z"
id: 41556
url: "https://together.iteye.com/blog/41556"
---

折腾了半天默认页面，弄得头晕脑胀，一直以为自己的routes.rb配置有问题呢。
启动后访问localhost:3000/，总是那个默认的欢迎页面，最后提示“Set up a default route and remove or rename this file

Routes are setup in config/routes.rb.”
可是我一直没读懂“remove or rename this file”的含义，它也不说清楚点，应该这样写就比较好理解了“remove or rename /public/index.html”，sign