GrailsInAction / graina2

Source code for the 2nd edition of Grails in Action
90 stars 93 forks source link

Listing 10.4 has incorrect reference to `email` param #116

Open pledbrook opened 9 years ago

pledbrook commented 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.