Router

From ElixirBlocks
Jump to: navigation, search

In Elixir Phoenix the router is responsible for "routing" endpoint requests to data.

If you were to create a new phoenix application named "app" the router file would be in this directory:

app / lib / app_web / router.ex