clarion/app/views/api/halls/index.jbuilder

10 lines
191 B
Plaintext
Raw Normal View History

2015-10-17 17:28:57 +03:00
@halls.each do |hall|
json.set! hall.id do
2015-10-20 10:14:31 +03:00
json.name do
hall.translations.each do |translation|
json.set! translation.locale, translation.name
end
end
2015-10-17 17:28:57 +03:00
end
end