0
0
Fork 0

Add RankedTrend concern for trends classes (#29388)

This commit is contained in:
Matt Jankowski 2024-02-26 08:45:39 -05:00 committed by GitHub
parent 98e3dc2578
commit 8429d07454
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 37 additions and 4 deletions

View file

@ -12,6 +12,8 @@
# language :string
#
class PreviewCardTrend < ApplicationRecord
include RankedTrend
belongs_to :preview_card
scope :allowed, -> { where(allowed: true) }
end