Arduino push button not responding when in line with resistor

That's what it should return when I press the button, this isn't the case however. Regardless of what I press, the button doesn't return any responses based on me pressing it or not. It's the fact that I remove the white cable from the resistor that gives me the right responses.