app/models/home/categories/top_this_season.rb
# frozen_string_literal: true
module Home
module Categories
class TopThisSeason < Home::Categories::BaseCategory
def title_template
"categories.top_this_season.title"
end
def scopes
[:trending, :new_this_season]
end
def enabled?
true
end
def thumbnail_attributes
[:next_episode, :airing_at]
end
end
end
end