show api for complete sub
Dieser Commit ist enthalten in:
Ursprung
d4e489456e
Commit
3e2907abc2
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
|
@ -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
|
||||
|
|
Laden …
In neuem Issue referenzieren