Skip to content

Commit

Permalink
Fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
akadusei committed Aug 23, 2024
1 parent 528f053 commit c2544db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shield/models/user.cr
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}

Expand Down

0 comments on commit c2544db

Please sign in to comment.