From 96eeb075a289af7d527a81544746e57e287501af Mon Sep 17 00:00:00 2001 From: Petko Bordjukov Date: Sun, 18 Oct 2015 14:00:56 +0300 Subject: [PATCH] Export the new track attributes as requested by @krokodilerian --- app/views/api/tracks/index.jbuilder | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/views/api/tracks/index.jbuilder b/app/views/api/tracks/index.jbuilder index dd2d2ff..c7f7710 100644 --- a/app/views/api/tracks/index.jbuilder +++ b/app/views/api/tracks/index.jbuilder @@ -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