Use correct way to respond_to