In this unit, we learn how to do the actions that are necessary to service almost all web requests, namely:
We will also learn how to examine the database content, which is useful in debugging your code.
@action.uses(auth, ...)makes the user information available in the controller.
@action.uses(auth.user, ...)enforces the fact that the user has to be logged in to visit that particular page.
authmodule that does not require a password. Users sign in by entering their email address. They receive a link sent to that email, and clicking on the link logs them in.