bryonfinke/Academy_News — comment on commit 1600d0affa880b936b775dd00cd0a3fb35cf3da8
File: app/views/comments/_vote_down_button.html.erb line 1
By trevorturk:

I make two new routes for this, instead of putting the score into here.

So, you'd have 2 more POST routes, like /comments/vote_up or something.

Something like this: http://stackoverflow.com/questions/2920855/how-to-add-a-new-custom-resource-to-routes-rails-3