modify controller for votes
Merge pull request #61 from MSchip/front-end-search

modify controller for votes