Creating a Controller2:39 with Jay McGavren
We have a route set up that says GET requests for /pages should go to the PagesController index method. But that controller doesn't exist yet, so the request is failing. Let's create a controller to handle requests for Page resources.
This video doesn't have any notes.
You need to sign up for Treehouse in order to download course files.Sign up