Move common module inclusion in sub classes to ActivityPub::BaseController
(#29560)
This commit is contained in:
parent
2e91a9bd34
commit
7720c684c5
8 changed files with 10 additions and 16 deletions
|
@ -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?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue