mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: New way to dismiss new topics (#11927)
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.
This commit is contained in:
committed by
GitHub
parent
151193bb11
commit
f39e7fe81d
7
spec/fabricators/dimissed_topic_user.rb
Normal file
7
spec/fabricators/dimissed_topic_user.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
Fabricator(:dismissed_topic_user) do
|
||||
user
|
||||
topic
|
||||
created_at { Time.zone.now }
|
||||
end
|
||||
Reference in New Issue
Block a user