Add sign? methods to the Quote and CollectionItem models (#39047)

This commit is contained in:
Shlee authored and GitHub committed 2026-06-09 12:49:42 +00:00
1 parent fba4775ef6
commit a2064d4c7f
2 files changed
+8

No files matched your search

+4
View File
@@ -64,6 +64,10 @@ class CollectionItem < ApplicationRecord
:featured_item
end
def sign?
true
end
private
def set_position
+4
View File
@@ -79,6 +79,10 @@ class Quote < ApplicationRecord
ActivityPub::QuoteRefreshWorker.perform_in(rand(REFRESH_DEADLINE), id)
end
def sign?
true
end
private
def reset_parent_cache!