test
Dieser Commit ist enthalten in:
Ursprung
df456abda0
Commit
6bc33ebd64
1 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
|
@ -154,14 +154,14 @@ class CustomWizard::Subscription
|
||||||
end
|
end
|
||||||
|
|
||||||
def type
|
def type
|
||||||
return :business unless subscribed?
|
return :none unless subscribed?
|
||||||
return :business if business?
|
return :business if business?
|
||||||
return :standard if standard?
|
return :standard if standard?
|
||||||
return :community if community?
|
return :community if community?
|
||||||
end
|
end
|
||||||
|
|
||||||
def subscribed?
|
def subscribed?
|
||||||
true
|
standard? || business? || community?
|
||||||
end
|
end
|
||||||
|
|
||||||
def standard?
|
def standard?
|
||||||
|
@ -169,7 +169,7 @@ class CustomWizard::Subscription
|
||||||
end
|
end
|
||||||
|
|
||||||
def business?
|
def business?
|
||||||
product_slug === "business"
|
true
|
||||||
end
|
end
|
||||||
|
|
||||||
def community?
|
def community?
|
||||||
|
|
Laden …
In neuem Issue referenzieren