This commit is contained in:
Toks
2013-04-20 11:14:25 -04:00
parent c40bc24d86
commit 62dce3e779

View File

@@ -1,5 +1,5 @@
<% if @error %>
{"success": false, "reason": <%= @error.to_s.to_json %>}
{"success": false, "reason": <%= @error.to_s.to_json.html_safe %>}
<% else %>
{"success": true}
<% end %>