From 40409af1dda11fa522d53537fb6e36550adfe4b3 Mon Sep 17 00:00:00 2001 From: Matt Wright Date: Tue, 3 Sep 2013 10:22:57 -0400 Subject: [PATCH] Fix documentation issue #145 --- docs/customizing.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/customizing.rst b/docs/customizing.rst index 4edf619..f2a3faf 100644 --- a/docs/customizing.rst +++ b/docs/customizing.rst @@ -132,11 +132,11 @@ Overriding these templates is simple: Each template is passed a template context object that includes values for any links that are required in the email. If you require more values in the templates you can specify an email context processor with the -``email_context_processor`` decorator. For example:: +``mail_context_processor`` decorator. For example:: security = Security(app, user_datastore) # This processor is added to all emails - @security.email_context_processor + @security.mail_context_processor def security_mail_processor(): return dict(hello="world")