dimanche 3 janvier 2016

Heroku - "The page you were looking for doesn't exist." though it exists on localhost:3000

I tried almost every solution from the previous questions, but there is no which applies to my problem. Basically, my app works on localhost:3000 but does not on Heroku. I generated scaffold User name:string email:string. Git commited and pushed to Heroku, it states that everythings went ok. However, on the page http://ift.tt/1O3RTce I get 404.

heroku logs:

heroku[router]: at=info method=GET path="/favicon.ico" host=appofmine.herokuapp.com request_id=e39fb228-d587-4d18-8395-2405eec3a59d fwd="85.202.153.28" dyno=web.1 connect=2ms service=5ms status=200 bytes=228

routes.rb:

Rails.application.routes.draw do
  resources :users
  root "users#index"
end

Aucun commentaire:

Enregistrer un commentaire