Remove unused match_params
This commit is contained in:
parent
3bb1e74172
commit
0a583ebe53
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue