From 7f245d6a59b8239554f67de02b7c31acd94c897e Mon Sep 17 00:00:00 2001 From: merefield Date: Sun, 24 Sep 2023 10:02:52 +0100 Subject: [PATCH] fix spelling mistake --- app/controllers/custom_wizard/admin/subscription.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/controllers/custom_wizard/admin/subscription.rb b/app/controllers/custom_wizard/admin/subscription.rb index ae0d8f08..9fc3921c 100644 --- a/app/controllers/custom_wizard/admin/subscription.rb +++ b/app/controllers/custom_wizard/admin/subscription.rb @@ -3,10 +3,10 @@ class CustomWizard::SubscriptionController < ::Admin::AdminController before_action :ensure_admin def index - subcription = CustomWizard::Subscription.new + subscription = CustomWizard::Subscription.new render_json_dump( - subscribed: subcription.subscribed?, - subscription_type: subcription.type, + subscribed: subscription.subscribed?, + subscription_type: subscription.type, subscription_attributes: CustomWizard::Subscription.attributes, ) end