Add RankedTrend
concern for trends classes (#29388)
This commit is contained in:
parent
98e3dc2578
commit
8429d07454
5 changed files with 37 additions and 4 deletions
|
@ -12,6 +12,8 @@
|
|||
# language :string
|
||||
#
|
||||
class PreviewCardTrend < ApplicationRecord
|
||||
include RankedTrend
|
||||
|
||||
belongs_to :preview_card
|
||||
scope :allowed, -> { where(allowed: true) }
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue