Add Call for Booths

This commit is contained in:
nasia 2017-07-07 16:13:35 +03:00 committed by nasia-sam
parent 4615505fcd
commit b86472ac3c
8 changed files with 92 additions and 13 deletions

View file

@ -1,7 +1,7 @@
# cannot delete program if there are events submitted
class Cfp < ActiveRecord::Base
TYPES = %w(events).freeze
TYPES = %w(events booths).freeze
scope :for_events, (-> { find_by(cfp_type: 'events') })