mirror of
https://github.com/discourse/discourse.git
synced 2024-12-05 23:23:56 +08:00
f39e7fe81d
This is a try to simplify logic around dismiss new topics to have one solution to work in all places - dismiss all-new, dismiss new in a specific category or even in a specific tag.
8 lines
118 B
Ruby
8 lines
118 B
Ruby
# frozen_string_literal: true
|
|
|
|
Fabricator(:dismissed_topic_user) do
|
|
user
|
|
topic
|
|
created_at { Time.zone.now }
|
|
end
|