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


#1

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 < 
ApplicationController 

  def home
  end

end

#2

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:


#3

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.


#4

@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:


#5

Oh I see now - thank you! Rookie mistake.