diff --git a/app/helpers/announcements_helper.rb b/app/helpers/announcements_helper.rb index 64af536..d7a1750 100644 --- a/app/helpers/announcements_helper.rb +++ b/app/helpers/announcements_helper.rb @@ -178,7 +178,6 @@ module AnnouncementsHelper end def sort_announcements(announcements) - enable_manually_sort = enable_manually_sort if enable_manually_sort announcements = announcements.sort_by { |announcement| tmp1 = announcement["postdate"].blank?