You must be logged in to access that page
Pretty URLs in Phoenix using names or slugs
This is the easiest way to make your Phoenix app use pretty URLs.
Instead of URLs like users/3, we'll set up this vanilla Phoenix app to have URLs like users/Jesse. The same technique will let you link to blog posts by title slug, instead of number, etc...
Thanks to Phoenix.Param, this is surprisingly easy!
No Comments