This commit is contained in:
albert
2013-02-28 15:06:22 -08:00
parent 2dbd7b180f
commit e3892e09c9
4 changed files with 26 additions and 3 deletions

View File

@@ -0,0 +1 @@
{"success": <%= @post.errors.empty? %>, "reason": <%= raw @post.errors.full_messages.join("; ").to_json %>}