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

@ -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