clarion/app/views/api/halls/index.jbuilder
2015-10-17 18:26:21 +03:00

6 lines
85 B
Ruby

@halls.each do |hall|
json.set! hall.id do
json.extract! hall, :name
end
end