Merge pull request #4634 from nonamethanks/minor_fix

Post replacements: fix replacement message
This commit is contained in:
evazion
2021-01-04 01:30:54 -06:00
committed by GitHub

View File

@@ -11,7 +11,7 @@ class UploadService
end
def comment_replacement_message(post, replacement)
%("#{replacement.creator.name}":[#{Routes.user_path(replacement.creator)}] replaced this post with a new image:\n\n#{replacement_message(post, replacement)})
%("#{replacement.creator.name}":[#{Routes.user_path(replacement.creator)}] replaced this post with a new file:\n\n#{replacement_message(post, replacement)})
end
def replacement_message(post, replacement)