DEV: Move distance_of_time_in_words/time_ago_in_words (#21745)

It wasn't a patch (just two helper functions that were called directly) and no longer has much to do with "Rails 4"
This commit is contained in:
Jarek Radosz
2023-05-25 14:53:59 +02:00
committed by GitHub
parent bd742de0b7
commit 036e27e69a
6 changed files with 108 additions and 92 deletions
+1 -1
View File
@@ -270,7 +270,7 @@ class ComposerMessagesFinder
I18n.t(
"education.reviving_old_topic",
time_ago:
FreedomPatches::Rails4.time_ago_in_words(
AgeWords.time_ago_in_words(
@topic.last_posted_at,
false,
scope: :"datetime.distance_in_words_verbose",