Last active
January 2, 2020 20:17
-
-
Save neslinesli93/5dc3cb941839aa31dd3b3a000b14f916 to your computer and use it in GitHub Desktop.
Add plug to the router
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pipeline :browser do | |
# ...other plugs | |
plug :fetch_flash | |
plug Phoenix.LiveView.Flash | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment