„lib/chiya_web/error.ex“ ändern
This commit is contained in:
parent
74c5524ec7
commit
67417922a2
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ 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_app}
|
||||
plug :put_root_layout, {ChiyaWeb.Layouts, :root_error}
|
||||
|
||||
def render_error(conn, :not_found, assigns \\ []) do
|
||||
conn
|
||||
|
|
Loading…
Reference in a new issue