0
0
Fork 0

Move common module inclusion in sub classes to ActivityPub::BaseController (#29560)

This commit is contained in:
Matt Jankowski 2024-03-15 06:40:21 -04:00 committed by GitHub
parent 2e91a9bd34
commit 7720c684c5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 10 additions and 16 deletions

View file

@ -3,9 +3,6 @@
class ActivityPub::OutboxesController < ActivityPub::BaseController
LIMIT = 20
include SignatureVerification
include AccountOwnedConcern
vary_by -> { 'Signature' if authorized_fetch_mode? || page_requested? }
before_action :require_account_signature!, if: :authorized_fetch_mode?