diff --git a/web/templates/error/404.html.eex b/web/templates/error/404.html.eex new file mode 100644 index 0000000..74ce7c9 --- /dev/null +++ b/web/templates/error/404.html.eex @@ -0,0 +1,4 @@ +
+

404

+

not found

+
diff --git a/web/views/error_view.ex b/web/views/error_view.ex index 0c7de09..050ea0e 100644 --- a/web/views/error_view.ex +++ b/web/views/error_view.ex @@ -1,10 +1,6 @@ defmodule Asciinema.ErrorView do use Asciinema.Web, :view - def render("404.html", _assigns) do - "Page not found" - end - def render("500.html", _assigns) do "Internal server error" end