#現象
rails tutorial3章
1.sample_app作成後
config/routes.rbの内容を下記に変更(rootを'application#hello'から'static_pages#home'に変更)
root 'static_pages#home'
get 'static_pages/home'
get 'static_pages/help'
get 'static_pages/about'
end>
2.git commit → git push heroku master後
ページを再度開いたが、開いたページがroot 'application#hello'のまま
#原因
heroku masterにpushできていなかった
→作業ブランチがローカルのstatic-pagesのままgit push heroku masterを実行していた
#解決方法
現在の作業ブランチから Heroku の master ブランチへpushする。
git push heroku static-pages:master