Rails4をHerokuにデプロイしたら404になった
Rails4になってから、Railsはプロダクション環境でのインデックスページを生成しなくなったので、 自分でインデックスページを作成しておかないと表示されません。
なるほど。
Rails 4 no longer has a static index page in production. When you’re using a new app, there will not be a root page in production, so we need to create one. We will first create a controller called welcome for our home page to live:
Getting Started with Rails 4.x on Heroku | Heroku Dev Center