Click here to navigate the course.

Drag the edges to resize the window.

In Projects, you can keep track of your progress as you go throught the tasks. Check each item as you complete it!

Code Editor
Web Browser

Great! We created a new controller named Pages. How did we do this?

  1. The rails generate controller Pages command generated a new controller named Pages. This created a file named app/controllers/pages_controller.rb.
  2. Inside the new Pages controller, we added a method called home. Methods in Rails controllers are also referred to as controller actions, so here we added the home action to the Pages controller.
report a_bug
If you see a bug or any other issue with this page, please report it here.