„lib/chiya_web/error.ex“ ändern

This commit is contained in:
inhji 2023-07-07 10:21:24 +02:00
parent d0054fcd18
commit bc6484d377

View file

@ -6,6 +6,7 @@ defmodule ChiyaWeb.Error do
def render_error(conn, :not_found, assigns \\ []) do
conn
|> put_root_layout(html: {ChiyaWeb.Layouts, :root_error})
|> put_status(:not_found)
|> put_view(ChiyaWeb.ErrorHTML)
|> render("404.html", assigns)