Add confirmed booths to splashpage
This commit is contained in:
parent
7107f9a35f
commit
f4b2115ed7
10 changed files with 51 additions and 1 deletions
|
|
@ -25,6 +25,8 @@ class Booth < ActiveRecord::Base
|
|||
:submitter_relationship,
|
||||
presence: true
|
||||
|
||||
scope :confirmed, -> { where(state: 'confirmed') }
|
||||
|
||||
mount_uploader :picture, PictureUploader, mount_on: :logo_link
|
||||
|
||||
state_machine initial: :new do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue