Delete main_controller.rb file. Create welcome_controller.rb file with index action. Edit root in routes. Create index.html.erb for welcome views.