roles

Controller and Views

At this point, if you browse to your application, for example http://localhost/tutorial/users/, you'll see an error indicating that your UsersController cannot be found, and the debug output gives you a suggestion of a bare-bones framework for the controller. You can copy and paste that code or type it by hand, but that's exactly where we'll start for your Users Controller to retrieve data from the Model.