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
|
@ -1,6 +1,9 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class ActivityPub::BaseController < Api::BaseController
|
||||
include SignatureVerification
|
||||
include AccountOwnedConcern
|
||||
|
||||
skip_before_action :require_authenticated_user!
|
||||
skip_before_action :require_not_suspended!
|
||||
skip_around_action :set_locale
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue