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

6 lines
89 B
Plaintext
Raw Normal View History

2013-08-01 10:33:49 +08:00
api.array :errors do
@error_messages.each do |message|
api.error message
end
end