diff options
author | Matt Jankowski <matt@jankowski.online> | 2023-02-28 05:56:50 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-28 11:56:50 +0100 |
commit | cc3633539edfd987fb1d0b6cd722af28f342d008 (patch) | |
tree | a2d5c335f0c5fdafcd323139e2ed3d8fee8df470 /app/helpers | |
parent | 055ed5a6166b8b6a5cdde9e8247fd2a606755a65 (diff) |
Remove unused admin/announcements helper (#23899)
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/admin/announcements_helper.rb | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/app/helpers/admin/announcements_helper.rb b/app/helpers/admin/announcements_helper.rb deleted file mode 100644 index 0c053ddec..000000000 --- a/app/helpers/admin/announcements_helper.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -module Admin::AnnouncementsHelper - def time_range(announcement) - if announcement.all_day? - safe_join([l(announcement.starts_at.to_date), ' - ', l(announcement.ends_at.to_date)]) - else - safe_join([l(announcement.starts_at), ' - ', l(announcement.ends_at)]) - end - end -end |