Files
danbooru/app/views/post_votes/create.json.erb
2013-04-16 21:12:16 -07:00

6 lines
116 B
Plaintext

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