Def index in app/controllers/application_controller.rb and had rails route to application#index in the config/routes.rb