view app/views/common/error_messages.api.rsb @ 1346:befaf13fec0d live

I think we have room for 7 projects here, rather than 5
author Chris Cannam
date Fri, 21 Jun 2013 15:05:30 +0100
parents 433d4f72a19b
children
line wrap: on
line source
api.array :errors do
  @error_messages.each do |message|
    api.error message
  end
end