partial fix for #1287
This commit is contained in:
5
app/views/post_votes/create.json.erb
Normal file
5
app/views/post_votes/create.json.erb
Normal file
@@ -0,0 +1,5 @@
|
||||
<% if @error %>
|
||||
{"success": false, "reason": <%= @error.to_s.to_json %>}
|
||||
<% else %>
|
||||
{"success": true}
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user