Remove useless respond_to calls (#13208)

This commit is contained in:
Eugen Rochko
2020-03-06 01:29:38 +01:00
committed by GitHub
parent 39453de232
commit 0ae5c6312f
47 changed files with 0 additions and 95 deletions

View File

@ -7,8 +7,6 @@ class Api::V1::Polls::VotesController < Api::BaseController
before_action :require_user!
before_action :set_poll
respond_to :json
def create
VoteService.new.call(current_account, @poll, vote_params[:choices])
render json: @poll, serializer: REST::PollSerializer