Router: Difference between revisions
From ElixirBlocks
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
When you create a new phoenix application named "app" the router file is in this directory: | When you create a new phoenix application named "app" the router file is in this directory: | ||
'''app/lib/app_web/router.ex''' | '''app / lib / app_web / router.ex''' |
Revision as of 00:45, 15 March 2024
In Elixir Phoenix the router responsible for "routing" endpoint requests to data.
When you create a new phoenix application named "app" the router file is in this directory:
app / lib / app_web / router.ex