Skip to content

Commit

Permalink
removed draft state from accounts
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksey Stepanov committed Dec 1, 2022
1 parent 64e7cd6 commit 539ee22
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/app/lib/uffizzi_core/concerns/models/account.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,9 @@ module UffizziCore::Concerns::Models::Account
state :active
state :payment_issue
state :disabled
state :draft

event :activate do
transitions from: [:payment_issue, :disabled, :require_card, :trial, :draft], to: :active
transitions from: [:payment_issue, :disabled, :require_card, :trial], to: :active
end

event :enable_paywall do
Expand Down

0 comments on commit 539ee22

Please sign in to comment.