Add position to MatchSerializer
This commit is contained in:
parent
d1bc3de6b0
commit
5126e5ae76
|
|
@ -1,7 +1,7 @@
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
class MatchSerializer < ApplicationSerializer
|
class MatchSerializer < ApplicationSerializer
|
||||||
attributes :state
|
attributes :state, :position
|
||||||
|
|
||||||
has_many :match_scores
|
has_many :match_scores
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue