Remove unused match_params

This commit is contained in:
Thor77 2018-11-25 20:08:21 +01:00
parent 3bb1e74172
commit 0a583ebe53
No known key found for this signature in database
GPG Key ID: 5051E71B46AA669A
1 changed files with 0 additions and 6 deletions

View File

@ -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