Skip to content

Commit

Permalink
downcase bc ids so dynamic directives work
Browse files Browse the repository at this point in the history
  • Loading branch information
johrstrom committed Oct 11, 2024
1 parent 1305b7c commit aa7dd55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/dashboard/app/lib/smart_attributes/attribute.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Attribute
# @param id [#to_s] id of attribute
# @param opts [#to_h] options for attribute
def initialize(id, opts = {})
@id = id.to_s
@id = id.to_s.downcase
@opts = opts.to_h.symbolize_keys
end

Expand Down

0 comments on commit aa7dd55

Please sign in to comment.