mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-16 21:24:05 +00:00
Change initial state to new
The initial state needs to be one that is part of the machine. See the transition README.md
This commit is contained in:
parent
c07cc6c844
commit
a4d7a1a771
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ class Track < ApplicationRecord
|
|||
scope :cfp_active, -> { where(cfp_active: true) }
|
||||
scope :self_organized, -> { where.not(submitter: nil) }
|
||||
|
||||
state_machine initial: :pending do
|
||||
state_machine initial: :new do
|
||||
state :new
|
||||
state :to_accept
|
||||
state :accepted
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue