Export the new track attributes as requested by @krokodilerian

This commit is contained in:
Petko Bordjukov 2015-10-18 14:00:56 +03:00
parent b8b24b918c
commit 96eeb075a2
1 changed files with 3 additions and 0 deletions

View File

@ -1,6 +1,9 @@
@tracks.each do |track|
json.set! track.id do
json.color track.color
json.foreground_color track.foreground_color
json.css_class track.css_class
json.css_style track.css_style
json.name do
track.translations.each do |translation|
json.set! translation.locale, translation.name