I want to create simple upvote system for posts. I added column to the model and this is how my posts\_controller looks now:

```
  def upvote
    @upvote = @post.upvote + 1
  end

```

Don't know how to make it work in the views? I want to make link which adds +1 to upvote.
Don't know also how to handle routes.