ITeye博客

rails的welcome page

together · 2006-12-29 15:09 · ruby · Markdown

折腾了半天默认页面,弄得头晕脑胀,一直以为自己的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

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。