Remove useless respond_to
calls (#13208)
This commit is contained in:
parent
39453de232
commit
0ae5c6312f
47 changed files with 0 additions and 95 deletions
|
@ -4,8 +4,6 @@ class Api::V1::MediaController < Api::BaseController
|
|||
before_action -> { doorkeeper_authorize! :write, :'write:media' }
|
||||
before_action :require_user!
|
||||
|
||||
respond_to :json
|
||||
|
||||
def create
|
||||
@media = current_account.media_attachments.create!(media_params)
|
||||
render json: @media, serializer: REST::MediaAttachmentSerializer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue