I'm attempting to recreate the Flash Messages guide in Phoenix however I'm getting a error that states undefined function: Phoenix.Controller.Flash.put/3 (module Phoenix.Controller.Flash is not available)
However:
I have the plug :fetch_flash
in my router.ex browser pipeline.
I have included the:
use Phoenix.Controller
alias Phoenix.Controller.Flash
at the top of the module definition. I'm also attempting to adapt the syntax to my code (where I receive a parameter in the render).