I'm new to Ruby on Rails. I'm usin: / Cloud9 to make the ROR application / GitHub to store the files and update them / Hiroku for the production as a free service
When I run the application on Cloud9, it works properly: https://ruby2016-bbparis.c9users.io/
When I push it to GitHub, it doesn't work on Heroku, and I get :
The page you were looking for doesn't exist. You may have mistyped the address or the page may have moved. If you are the application owner check the logs for more information.
My route file is so simple :
Rails.application.routes.draw do
root 'pages#home'
get 'pages/about', to: 'pages#about'
end
How can I resolve this issue please ?