2013-07-27 128 views

回答

0

您部署的应用程序目前正在被Rails的默认静态索引页面覆盖。从config/routes.rb

# You can have the root of your site routed with "root" 
# just remember to delete public/index.html. 

因此,首先要确保你的根路径设置:

# config/routes.rb 
root :to => `root_controller#root_action` 

然后,删除public/index.html,更改提交到版本控制,并重新部署到Heroku的。

+0

问题是如果我已经有仓库如何删除它在git集线器 –

0

首先确保您有正确的路线。然后您将更改提交到主分支,然后:

git push heroku master 

希望这有助于您。