diff --git a/docs/backend/emails.md b/docs/backend/emails.md new file mode 100644 index 000000000..c9c2a5aa8 --- /dev/null +++ b/docs/backend/emails.md @@ -0,0 +1,13 @@ +--- +title: Emails +--- + +# Previewing emails in development + +You can view email previews at . + +Previews are setup in the directory `spec/mailers/previews`. + +# Overriding mailer templates + +To update the contents of emails that the app sends, edit the views under `app/views/mailers`. Note that this app uses the [`devise_invitable` gem](https://github.com/scambra/devise_invitable) for invitations. The views for this gem are stored under `app/views/devise/mailer`. diff --git a/docs/backend/previewing-emails.md b/docs/backend/previewing-emails.md deleted file mode 100644 index 7551a33a2..000000000 --- a/docs/backend/previewing-emails.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -title: Previewing Emails ---- - -# Previewing emails in development - -You can view email previews at . - -Previews are setup in the directory `spec/mailers/previews`. diff --git a/docs/backend/readme.md b/docs/backend/readme.md index a74d2fe0f..11afe1a0c 100644 --- a/docs/backend/readme.md +++ b/docs/backend/readme.md @@ -10,12 +10,12 @@ items: - configuration.md - data-update-scripts.md - elasticsearch.md + - emails.md - fastly.md - internationalization.md - roles.md - pusher.md - resource-admin.md - - previewing-emails.md - notification.md - scheduled-jobs.md - metrics.md