0
0
Fork 0

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
47 changed files with 0 additions and 95 deletions

View file

@ -9,8 +9,6 @@ class Api::V1::ConversationsController < Api::BaseController
before_action :set_conversation, except: :index
after_action :insert_pagination_headers, only: :index
respond_to :json
def index
@conversations = paginated_conversations
render json: @conversations, each_serializer: REST::ConversationSerializer