Mercurial > hg > soundsoftware-site
view app/views/enumerations/index.api.rsb @ 1465:ab8bd24eeb65 bug_635
Close obsolete branch bug_635
author | Chris Cannam |
---|---|
date | Fri, 19 Jul 2013 12:13:20 +0100 |
parents | 433d4f72a19b |
children |
line wrap: on
line source
api.array @klass.name.underscore.pluralize do @enumerations.each do |enumeration| api.__send__ @klass.name.underscore do api.id enumeration.id api.name enumeration.name api.is_default enumeration.is_default end end end