Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienpoly committed May 8, 2024
1 parent 1b369aa commit 81b7d1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/avo/resources/video.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class Avo::Resources::Video < Avo::BaseResource
def fields
field :id, as: :id
field :title, as: :text
field :vimeo_thumbnail, as: :text, as_html: true, hide_on: [:forms] do
field :vimeo_thumbnail, as: :text, as_html: true, hide_on: [ :forms ] do
"<img src='#{record.vimeo_thumbnail}' width='100' />"
end
field :vimeo_url, as: :text, hide_on: [ :index ]
Expand Down

0 comments on commit 81b7d1f

Please sign in to comment.