# File lib/controllers/votes_controller.rb, line 86 def destroy @vote = Vote.find(params[:id]) @vote.destroy respond_to do |format| format.html { redirect_to(user_votes_url) } format.xml { head :ok } end end