```
if @idea.upvote current_user
  render json: "woohoo"
else
  render json: "doh"
end
```