mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
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:
@@ -36,7 +36,7 @@ class ComposerMessagesController < ApplicationController
|
||||
user_count: user_count,
|
||||
usernames: users,
|
||||
time_ago:
|
||||
FreedomPatches::Rails4.time_ago_in_words(
|
||||
AgeWords.time_ago_in_words(
|
||||
SiteSetting.pm_warn_user_last_seen_months_ago.month.ago,
|
||||
true,
|
||||
scope: :"datetime.distance_in_words_verbose",
|
||||
|
||||
Reference in New Issue
Block a user