2007.11.12 1 min read routes.rbで/アクセスを割り当てる #Ruby 単純に, map.connect '', :controller => 'top', :action => 'index' などとすればいいのだが,public/index.htmlが存在するとそちらが優先されるらしい.ので削除を忘れずに. ← ホームに戻る