diff --git a/lp/lib/lp_web/templates/error/404.html.eex b/lp/lib/lp_web/templates/error/404_page.html.eex similarity index 100% rename from lp/lib/lp_web/templates/error/404.html.eex rename to lp/lib/lp_web/templates/error/404_page.html.eex diff --git a/lp/lib/lp_web/templates/error/500.html.eex b/lp/lib/lp_web/templates/error/500_page.html.eex similarity index 100% rename from lp/lib/lp_web/templates/error/500.html.eex rename to lp/lib/lp_web/templates/error/500_page.html.eex diff --git a/lp/lib/lp_web/views/error_view.ex b/lp/lib/lp_web/views/error_view.ex index 848aa65..9702a05 100644 --- a/lp/lib/lp_web/views/error_view.ex +++ b/lp/lib/lp_web/views/error_view.ex @@ -4,10 +4,10 @@ defmodule LpWeb.ErrorView do # If you want to customize a particular status code # for a certain format, you may uncomment below. def render("404.html", _assigns) do - render("404.html", %{}) + render("404_page.html", %{}) end def render("500.html", _assigns) do - render("500.html", %{}) + render("500_page.html", %{}) # "Internal Server Error" end