Started to add voting, but there's an error with vote action in posts controller