This repository was archived by the owner on Jul 24, 2020. It is now read-only.
This repository was archived by the owner on Jul 24, 2020. It is now read-only.
Missing ToS checkbox fails silently #1227
Closed
Description
This has come up a few times from STC but we thought it was just PEBKAC; turns out there's actually an issue. The check_tos
method in ApplicationController
is supposed to set the flash if the checkbox wasn't checked off, and the checkout
method in ReservationsController
is supposed to redirect to :back
, but instead it's redirecting to the home page with no flash message.
Verified on both v3.4.9 (Yale-hosted) and v5.2.1 (Heroku-hosted).
Activity