diff --git a/lib/chiya_web/error.ex b/lib/chiya_web/error.ex index 15e2530..0173b62 100644 --- a/lib/chiya_web/error.ex +++ b/lib/chiya_web/error.ex @@ -9,12 +9,4 @@ defmodule ChiyaWeb.Error do |> put_view(ChiyaWeb.ErrorHTML) |> render("404.html", assigns) end - - def render_error(conn, :not_found, assigns \\ []) do - conn - |> put_root_layout, {ChiyaWeb.Layouts, :root_error} - |> put_status(:not_found) - |> put_view(ChiyaWeb.ErrorHTML) - |> render("404.html", assigns) - end end