Skip to content

Commit

Permalink
fix documentation raising an exception because cardinality doesn't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
syphax-bouazzouni committed May 25, 2024
1 parent c8b7ac3 commit a694927
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/home_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def metadata_all
unique: cls.unique?(attribute) || " ",
required: cls.required?(attribute) || " ",
list: cls.list?(attribute) || " ",
cardinality: cls.cardinality(attribute) || " "
cardinality: (cls.cardinality(attribute) rescue nil) || " "
}
else
attributes_info[attribute] = {
Expand Down

0 comments on commit a694927

Please sign in to comment.