From b016f8a88bffd4bcb2bcc03fab516c43fef0e839 Mon Sep 17 00:00:00 2001 From: Chris Rose Date: Fri, 27 May 2022 08:48:00 -0700 Subject: [PATCH] Add a helpful notice about the packet errors. --- app/controllers/hugo_packet_controller.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/controllers/hugo_packet_controller.rb b/app/controllers/hugo_packet_controller.rb index 1e612159..57017237 100644 --- a/app/controllers/hugo_packet_controller.rb +++ b/app/controllers/hugo_packet_controller.rb @@ -89,7 +89,10 @@ def check_access! paid_reservations = current_user.reservations.distinct.joins(:charges).merge(Charge.successful) if paid_reservations.none?(&:can_vote?) flash["notice"] = - "To download the Hugo Packet, please ensure one of your memberships has at least the minimum instalment and voting rights" + "To download the Hugo Packet, please ensure one of your memberships has at least the minimum " + + "instalment and voting rights. Please note that there is currently an issue affecting some " + + "members that prevents access to the packet. We are working on it (as of May 27) and hope to " + + "have a resolution shortly." redirect_to reservations_path nil end