Remove useless respond_to
calls (#13208)
This commit is contained in:
parent
39453de232
commit
0ae5c6312f
47 changed files with 0 additions and 95 deletions
|
@ -8,8 +8,6 @@ class Api::V1::DomainBlocksController < Api::BaseController
|
|||
before_action :require_user!
|
||||
after_action :insert_pagination_headers, only: :show
|
||||
|
||||
respond_to :json
|
||||
|
||||
def show
|
||||
@blocks = load_domain_blocks
|
||||
render json: @blocks.map(&:domain)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue