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

6 lines
85 B
Plaintext
Raw Normal View History

2015-10-17 17:28:57 +03:00
@halls.each do |hall|
json.set! hall.id do
json.extract! hall, :name
end
end