socialforge/app/views/common/error_messages.api.rsb

6 lines
89 B
Plaintext

api.array :errors do
@error_messages.each do |message|
api.error message
end
end