Help with 4/6 please!

please help with 4/6

Hi Michalea,

We’ll be happy to help you :slight_smile:
Would you mind posting your code and the error message you’re getting?

If you’re not sure how to format code so it shows up properly, see here:

1 Like

Open config/routes.rb and underneath line 1, type:
get 'welcome' => 'pages#home'

The commented text in that file can be ignored (but is worth reading while you have it open). The last line is not a comment, but an end token for the do on line 1.

To locate and open the file, click the folder icon above the workspace. Click config, click routes.rb, click Open.

Once you type the above code into the file, it will look like,

Rails.application.routes.draw do
  get 'welcome' => 'pages#home'

Click Run and it will be saved.