Routing with a custom slug

Hey @travisf you’d simply do something like instead of:

Thing |> where([t], t.id == ^params.id) |> Repo.one

you

Thing |> where([t], t.id == ^params.id or t.slug == ^params.id) |> Repo.one