Catch-all/wildcard route in Elixir's Phoenix?
Solution 1:
Ah, the famous pokemon route:
get "/*path"
You will find the paths inside conn.params["path"]
or as conn.path_info
.
Ah, the famous pokemon route:
get "/*path"
You will find the paths inside conn.params["path"]
or as conn.path_info
.