# `Shopifex.Plug.FetchFlash`
[🔗](https://github.com/ericdude4/shopifex/blob/main/lib/shopifex/plug/fetch_flash.ex#L1)

Fetches the flash into `conn.assigns.flash`.

Provided for backwards compatibility with earlier versions of Shopifex.
In modern Phoenix applications (Phoenix >= 1.7), flash is stored in
`conn.assigns.flash`, and this plug delegates directly to
`Phoenix.Controller.fetch_flash/2`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
