fixes #1793
This commit is contained in:
6
app/views/comment_votes/create.xml.erb
Normal file
6
app/views/comment_votes/create.xml.erb
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<% if @comment_vote.errors.any? %>
|
||||
<response success="false"><%= @comment_vote.errors.full_messages.to_json.html_safe %></response>
|
||||
<% else %>
|
||||
<response success="true"/>
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user