Skip to content

Commit

Permalink
Add a helpful notice about the packet errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
offbyone authored May 27, 2022
1 parent fdae557 commit b016f8a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/controllers/hugo_packet_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b016f8a

Please sign in to comment.