Open pledbrook opened 9 years ago
In this listing, we declare email as an argument of the welcomeEmail action, but then use params.email in the body of the action method. We should instead just use email directly, as is done later on in that method.
email
welcomeEmail
params.email
In this listing, we declare
email
as an argument of thewelcomeEmail
action, but then useparams.email
in the body of the action method. We should instead just useemail
directly, as is done later on in that method.