README.md in quo_vadis-1.2.2 vs README.md in quo_vadis-1.2.3
- old
+ new
@@ -159,12 +159,12 @@
Write the mailer view, i.e. the email which will be sent to your new users ([example](https://github.com/airblade/quo_vadis/blob/master/test/dummy/app/views/quo_vadis/notifier/invite.text.erb)). The view must:
* be at `app/views/quo_vadis/notifier/invite.text.erb`
* render `@url` somewhere (this is the link the user clicks to go to the invitation page)
-You can also refer to `@user` in the email view, as well as any other data you pass to `invite_to_activate`.
+You can also refer to `@user` in the email view, as well as any other data you pass to `invite_to_activate`. Note that passing `:from` and/or `:subject` in the hash to `invite_to_activate` overrides the default `QuoVadis.from` and/or `QuoVadis.subject_invitation` respectively.
-Configure the email's from address in `config/initializers/quo_vadis.rb`.
+Configure the email's from address in `config/initializers/quo_vadis.rb` (or pass in the data hash to `invite_to_activate`).
Configure the default host so ActionMailer can generate the URL. In `config/environments/<env>.rb`:
config.action_mailer.default_url_options = {:host => 'yourdomain.com'}