From c2544db39ea947dc8dd03404546d1df510b7f1ff Mon Sep 17 00:00:00 2001 From: akadusei Date: Fri, 23 Aug 2024 00:40:51 +0000 Subject: [PATCH] Fix error --- src/shield/models/user.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shield/models/user.cr b/src/shield/models/user.cr index 438bf8fe..f8053bcc 100644 --- a/src/shield/models/user.cr +++ b/src/shield/models/user.cr @@ -26,7 +26,7 @@ module Shield::User {% if Avram::Model.all_subclasses.find(&.name.== :UserOptions.id) %} include Shield::HasOneUserOptions - {% elsif Avram::Model.all_subclasses.find(&.name.== :UserSettings.id) %} + {% elsif Lucille::JSON.includers.find(&.name.== :UserSettings.id) %} include Shield::UserSettingsColumn {% end %}