Arcane Ward and Resistance

Does the abjuration wizards arcane ward take damage before or after resistance applies?

The arcane ward ability states that

Whenever you take damage, the ward takes it instead.

Damage Resistance and Vulnerability states

Resistance and then vulnerability are applied after all other modifiers to damage […] The 25 damage is first reduced by 5 and then halved, so the creature takes 10 damage.’

It seems that all modifiers are thus resolved and then you take damage, at which point it’s transferred to the ward.

Is this correct?