Add Api::V1::Instances::BaseController
base controller class (#27797)
This commit is contained in:
parent
fba838d61a
commit
ac69f90098
9 changed files with 16 additions and 34 deletions
|
@ -1,8 +1,6 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class Api::V1::Instances::DomainBlocksController < Api::BaseController
|
||||
skip_before_action :require_authenticated_user!, unless: :limited_federation_mode?
|
||||
|
||||
class Api::V1::Instances::DomainBlocksController < Api::V1::Instances::BaseController
|
||||
before_action :require_enabled_api!
|
||||
before_action :set_domain_blocks
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue