Remove useless respond_to
calls (#13208)
This commit is contained in:
parent
39453de232
commit
0ae5c6312f
47 changed files with 0 additions and 95 deletions
|
@ -7,8 +7,6 @@ class Api::V1::PollsController < Api::BaseController
|
|||
before_action :set_poll
|
||||
before_action :refresh_poll
|
||||
|
||||
respond_to :json
|
||||
|
||||
def show
|
||||
render json: @poll, serializer: REST::PollSerializer, include_results: true
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue