From cc3633539edfd987fb1d0b6cd722af28f342d008 Mon Sep 17 00:00:00 2001 From: Matt Jankowski Date: Tue, 28 Feb 2023 05:56:50 -0500 Subject: Remove unused admin/announcements helper (#23899) --- app/helpers/admin/announcements_helper.rb | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 app/helpers/admin/announcements_helper.rb 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 -- cgit