annotate app/views/roles/index.api.rsb @ 1461:926dce5f5778 live

Merge fix from luisf branch
author Chris Cannam
date Mon, 06 Jan 2014 15:53:59 +0000
parents 433d4f72a19b
children
rev   line source
Chris@1115 1 api.array :roles do
Chris@1115 2 @roles.each do |role|
Chris@1115 3 api.role do
Chris@1115 4 api.id role.id
Chris@1115 5 api.name role.name
Chris@1115 6 end
Chris@1115 7 end
Chris@1115 8 end