Desoldered Resistors on rotary encoder breakout can I just short them togather
What a terrible photo!

It's likely that the resistors were being used as pullups against the contact closures of the encoder. If that's the case, you need to replace them. Shorting them out would connect all of the contacts directly to the supply (and to each other).

Or you could simply leave them off, and provide the pullup function elsewhere in your system.