1
0
Fork 0

update subscription types

Dieser Commit ist enthalten in:
merefield 2021-10-22 19:24:28 +01:00
Ursprung 50176b400d
Commit 41e0f13b25
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen

Datei anzeigen

@ -5,7 +5,7 @@ class CustomWizard::AdminController < ::Admin::AdminController
def index def index
render_json_dump( render_json_dump(
#TODO replace with appropriate static? #TODO replace with appropriate static?
api_section: ["advanced"].include?(CustomWizard::Subscription.type), api_section: ["business"].include?(CustomWizard::Subscription.type),
notices: ActiveModel::ArraySerializer.new( notices: ActiveModel::ArraySerializer.new(
CustomWizard::Notice.list, CustomWizard::Notice.list,
each_serializer: CustomWizard::NoticeSerializer each_serializer: CustomWizard::NoticeSerializer

Datei anzeigen

@ -13,7 +13,7 @@ class CustomWizard::Subscription::Subscription
end end
def types def types
%w(none basic advanced) %w(none standard business)
end end
def active? def active?