From fe2acd9f022636b43f0654616a42cc6e919f9c2d Mon Sep 17 00:00:00 2001 From: inhji Date: Fri, 7 Jul 2023 10:13:55 +0200 Subject: [PATCH] =?UTF-8?q?=E2=80=9Elib/chiya=5Fweb/error.ex=E2=80=9C=20?= =?UTF-8?q?=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/chiya_web/error.ex | 8 -------- 1 file changed, 8 deletions(-) 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