We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ef4bc6 commit b498aebCopy full SHA for b498aeb
1 file changed
lib/plausible_web/controllers/helpers.ex
@@ -4,13 +4,15 @@ defmodule PlausibleWeb.ControllerHelpers do
4
5
def render_error(conn, status, message) do
6
conn
7
+ |> put_root_layout(false)
8
|> put_status(status)
9
|> put_view(PlausibleWeb.ErrorView)
10
|> render("#{status}.html", message: message, layout: error_layout())
11
end
12
13
def render_error(conn, status) do
14
15
16
17
18
|> render("#{status}.html", layout: error_layout())
0 commit comments