Phoenix.Template.template_path_to_name
You're seeing just the function
template_path_to_name
, go back to Phoenix.Template module for more information.
Specs
Converts the template path into the template name.
Examples
iex> Phoenix.Template.template_path_to_name(
...> "lib/templates/admin/users/show.html.eex",
...> "lib/templates")
"admin/users/show.html"