From 0a583ebe53f092d2859e223c8e2af41bed0dfdfa Mon Sep 17 00:00:00 2001 From: Thor77 Date: Sun, 25 Nov 2018 20:08:21 +0100 Subject: [PATCH] Remove unused match_params --- app/controllers/matches_controller.rb | 6 ------ 1 file changed, 6 deletions(-) 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