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})