Add template for 404

This commit is contained in:
Marcin Kulik 2016-10-16 15:49:29 +02:00
parent e37a9f3702
commit c76502a707
2 changed files with 4 additions and 4 deletions

View File

@ -0,0 +1,4 @@
<div class="container">
<h1>404</h1>
<p>not found</p>
</div>

View File

@ -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