Add color to tracks in the API
This commit is contained in:
parent
92cef2b07e
commit
536c139e84
|
@ -1,5 +1,6 @@
|
||||||
@tracks.each do |track|
|
@tracks.each do |track|
|
||||||
json.set! track.id do
|
json.set! track.id do
|
||||||
|
json.color track.color
|
||||||
json.name do
|
json.name do
|
||||||
track.translations.each do |translation|
|
track.translations.each do |translation|
|
||||||
json.set! translation.locale, translation.name
|
json.set! translation.locale, translation.name
|
||||||
|
|
Loading…
Reference in New Issue