„lib/chiya_web/error.ex“ ändern

This commit is contained in:
inhji 2023-07-07 10:23:40 +02:00
parent bd756ee9ea
commit f1c4a0d08b

View file

@ -1,6 +1,6 @@
defmodule ChiyaWeb.Error do defmodule ChiyaWeb.Error do
import Plug.Conn, only: [put_status: 2] import Plug.Conn, only: [put_status: 2]
import Phoenix.Controller, only: [put_view: 2, render: 3] import Phoenix.Controller, only: [put_view: 2, render: 3, put_root_layout: 2]
def render_error(conn, :not_found, assigns \\ []) do def render_error(conn, :not_found, assigns \\ []) do
conn conn