How to write code in this instruction I don't know who take me out of this instruction


#1

indent preformatted text by 4 spaces

this is a intruction
In the routes file, create a route that maps the URL /messages to the Messages controller's index action.

this is my code
Rails.application.routes.draw do
get 'http://localhost:8000/welcome' => 'Messages#index'
end


#2

It should be:

`
get '/welcome' => 'messages#index'