Injectivity is a local property

Let $R$ be a commutative noetherian ring, and let $M$ be an $R$-module. How can I show that if any localization $M_p$ at a prime ideal $p$ of the ring $R$ is injective over $R_p$, then $M$ is injective?

Solutions Collecting From Web of "Injectivity is a local property"