I googled and search ElixirForum but can’t find a solution for this, sorry for asking might be silly question :-
I don’t know how to create a Phoenix Route for this: the ID(or name) part actually has parent folders in it.
a ID like this: “-/project_members/new_york/img_small/240x180.png”
https://gitlab.example.dev/internal/cloud/-/project_members/new_york/img_small/240x180.png
For the route above, Phoenix complain about this:
** (Phoenix.Router.NoRouteError) no route found for GET /internal/cloud/-/project_members/new_york/img_small/240x180.png (HelloWeb.Router)
The route.ex source:
scope "/internal", HelloWeb do
pipe_through :browser5
get "/cloud", Controller, :cloud_index
end
Any idea about this? really thanks