Voting

Allow for AJAXy voting on comments and articles. Resolves #14.


![](http://zippy.gfycat.com/ImpracticalPastCardinal.gif)
Since we know what param we'll be using right off the bat, we should be able to simplify the logic and get rid of that `params.each`. Maybe something like:
```
def votable
  @votable = begin
    if valid_votable_type?(params[:controller])
      return params[:controller].singularize.classify.constantize.find(params[:id])
    end
    nil  # Did we ever figure out exactly what this was doing? I remember it was originally needed for something.
  end
end
```