Skip to content
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
@orenyk

Description

@orenyk

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions