From 9b5a9d18a82dace2ef22ccdb450e1c9a751746a8 Mon Sep 17 00:00:00 2001 From: inhji Date: Fri, 7 Jul 2023 10:21:32 +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 | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/chiya_web/error.ex b/lib/chiya_web/error.ex index 147b366..3b728a0 100644 --- a/lib/chiya_web/error.ex +++ b/lib/chiya_web/error.ex @@ -2,8 +2,6 @@ defmodule ChiyaWeb.Error do import Plug.Conn, only: [put_status: 2] import Phoenix.Controller, only: [put_view: 2, render: 3] - plug :put_root_layout, {ChiyaWeb.Layouts, :root_error} - def render_error(conn, :not_found, assigns \\ []) do conn |> put_root_layout(html: {ChiyaWeb.Layouts, :root_error})