From 922276da6bb9091cef5741b9b7e9fe8395b1fc98 Mon Sep 17 00:00:00 2001 From: Type-kun Date: Sat, 14 Jan 2017 15:52:43 +0500 Subject: [PATCH] Fixed typo in forum post mod action --- app/models/forum_post.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/forum_post.rb b/app/models/forum_post.rb index 9f14e7c8f..89d9f8e41 100644 --- a/app/models/forum_post.rb +++ b/app/models/forum_post.rb @@ -20,10 +20,10 @@ class ForumPost < ActiveRecord::Base before_destroy :validate_topic_is_unlocked after_save :delete_topic_if_original_post after_update(:if => lambda {|rec| rec.updater_id != rec.creator_id}) do |rec| - ModAction.log("#{CurrentUser.name} updated forum post ##{rec.id}") + ModAction.log("#{CurrentUser.name} updated forum ##{rec.id}") end after_destroy(:if => lambda {|rec| rec.updater_id != rec.creator_id}) do |rec| - ModAction.log("#{CurrentUser.name} deleted forum post ##{rec.id}") + ModAction.log("#{CurrentUser.name} deleted forum ##{rec.id}") end mentionable( :message_field => :body,