Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-09 20:02:54 +01:00
update subscription types
Dieser Commit ist enthalten in:
Ursprung
50176b400d
Commit
41e0f13b25
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
|
@ -5,7 +5,7 @@ class CustomWizard::AdminController < ::Admin::AdminController
|
|||
def index
|
||||
render_json_dump(
|
||||
#TODO replace with appropriate static?
|
||||
api_section: ["advanced"].include?(CustomWizard::Subscription.type),
|
||||
api_section: ["business"].include?(CustomWizard::Subscription.type),
|
||||
notices: ActiveModel::ArraySerializer.new(
|
||||
CustomWizard::Notice.list,
|
||||
each_serializer: CustomWizard::NoticeSerializer
|
||||
|
|
|
@ -13,7 +13,7 @@ class CustomWizard::Subscription::Subscription
|
|||
end
|
||||
|
||||
def types
|
||||
%w(none basic advanced)
|
||||
%w(none standard business)
|
||||
end
|
||||
|
||||
def active?
|
||||
|
|
Laden …
In neuem Issue referenzieren