Skip to content

Don't fail when second conference is added

Andy Dirnberger requested to merge dont-blow-up-if-more-than-one-event into master

Right now the site will fail hard if a second conference is added. This relaxes the "there must be exactly one conference" restriction by loading the record through first instead of one.

The CLI is being updated to prevent users from adding a second conference, but the admin will still allow it, so this change will allow anyone who added a second conference to still access their site and admin.

Edited by Andy Dirnberger

Merge request reports