0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-25 18:50:27 +01:00

show api for complete sub

Dieser Commit ist enthalten in:
Robert Barrow 2021-10-12 14:37:36 +01:00
Ursprung d4e489456e
Commit 3e2907abc2

Datei anzeigen

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