FIX: Missing module name

This commit is contained in:
Robin Ward 2014-01-27 15:11:51 -05:00
parent 78c7c03d26
commit 1609950781
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ module UserNotificationsHelper
def email_excerpt(html, posts_count)
# If there's only one post, include the whole thing.
if posts_count == 1
raw Sanitize.clean(html, sanitize_options)
raw Sanitize.clean(html, UserNotificationsHelper.sanitize_options)
else
# Otherwise, try just the first paragraph.
para = first_paragraph_from(html)