diff --git a/app/controllers/matches_controller.rb b/app/controllers/matches_controller.rb index a00c1c7..6dea146 100644 --- a/app/controllers/matches_controller.rb +++ b/app/controllers/matches_controller.rb @@ -5,10 +5,4 @@ class MatchesController < ApplicationController def show render json: Match.find(params[:id]), include: ['scores.score', 'scores.team'], status: status end - - private - - def match_params - ActiveModelSerializers::Deserialization.jsonapi_parse(params, only: [:state]) - end end