FIX: Missing new education keys

This commit is contained in:
Robin Ward 2015-11-27 17:00:26 -05:00
parent 84342ecdef
commit 7181e3cb75

View File

@ -19,10 +19,10 @@ class ComposerMessagesFinder
def check_education_message
if creating_topic?
count = @user.created_topic_count
education_key = 'education.new_topic'
education_key = 'education.new-topic'
else
count = @user.post_count
education_key = 'education.new_reply'
education_key = 'education.new-reply'
end
if count < SiteSetting.educate_until_posts