_ ->
conn
|> put_status(404)
- |> render_error(:not_found, "Notice not found")
+ |> render("error.html", %{message: "Post not found.", meta: ""})
end
end
_ ->
conn
|> put_status(404)
- |> render_error(:not_found, "User not found")
+ |> render("error.html", %{message: "User not found.", meta: ""})
end
end