3. Controller step - clicking Enter on the keyboard doesn't take me to the next line. How do I do this?

I’m attempting to add the method home, but I’m unable to to click Enter on my keyboard to enter the second line “ApplicationController”. How would I do that? Everytime I click Enter, I receive a syntax error.

class PagesController < 

  def home


Hi Dmariewll,

I think you need to move line 2 up to the end of line 1, then move your cursor to the end of a line before pressing Enter :slight_smile:

Hmm, that didn’t work. Unless I’m missing something. This is what happens when I place focus at the end of the link and click Enter.

@dmariewll Oh, I see the problem :slight_smile: You need to type that into the code editor, since it’s code, not a command for you to run in the command line/terminal :slight_smile:

Oh I see now - thank you! Rookie mistake.

1 Like