Changed vote variable in post controller to an instance variable