Remove bets instead of just commenting
This commit is contained in:
parent
40edc85562
commit
d18efbac96
|
|
@ -7,10 +7,4 @@ class MatchSerializer < ApplicationSerializer
|
||||||
ActiveModelSerializers::SerializableResource.new(object.winner).as_json
|
ActiveModelSerializers::SerializableResource.new(object.winner).as_json
|
||||||
end
|
end
|
||||||
|
|
||||||
# def bets
|
|
||||||
# ActiveModelSerializers::SerializableResource.new(object.bets, serializer: BetsSerializer).as_json
|
|
||||||
# end
|
|
||||||
|
|
||||||
has_many :match_scores
|
has_many :match_scores
|
||||||
# has_many :bets
|
|
||||||
end
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue