0
0
Fork 0

Add Api::V1::Instances::BaseController base controller class (#27797)

This commit is contained in:
Matt Jankowski 2023-11-10 07:46:00 -05:00 committed by GitHub
parent fba838d61a
commit ac69f90098
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 16 additions and 34 deletions

View file

@ -0,0 +1,8 @@
# frozen_string_literal: true
class Api::V1::Instances::BaseController < Api::BaseController
skip_before_action :require_authenticated_user!,
unless: :limited_federation_mode?
vary_by ''
end