Skip to content

Commit

Permalink
Remove deprecated attachment_key option
Browse files Browse the repository at this point in the history
  • Loading branch information
tamaloa committed Apr 18, 2024
1 parent 9645c99 commit 4408303
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/avo/resources/note.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ class Avo::Resources::Note < Avo::BaseResource

def fields
field :id, as: :id
field :content, as: :trix, attachment_key: :trix_attachments
field :content, as: :trix
end
end

0 comments on commit 4408303

Please sign in to comment.