Modify vote action for both post and comment