Link to exercise:
https://www.codecademy.com/en/courses/learn-rails/lessons/start/exercises/start-controller-i
Error message:
I don’t get an error message. After modifying ‘pages_controller.rb’ with the method below, it runs in the browser but give me a red x box so I’m unable to proceed to the next section.
What I’ve tried:
Instructions are 'After rails generate finishes running, in the Code Editor, open app/controllers/pages_controller.rb. Within the class PagesController, add a method home:
class PagesController < ApplicationController
def home
end
end’
My code:
I've added to pages_controller.rb the exact method instructed above. I must be missing something but I'm not sure.