mirror of
https://github.com/moparisthebest/mailcatcher
synced 2024-08-13 17:03:45 -04:00
Break out 404 file
This commit is contained in:
parent
a4e62f2e92
commit
903e3ad2fb
@ -150,7 +150,7 @@ module MailCatcher
|
||||
end
|
||||
|
||||
not_found do
|
||||
"<html><body><h1>No Dice</h1><p>The message you were looking for does not exist, or doesn't have content of this type.</p></body></html>"
|
||||
haml :"404"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
4
views/404.haml
Normal file
4
views/404.haml
Normal file
@ -0,0 +1,4 @@
|
||||
%html
|
||||
%body
|
||||
%h1 No Dice
|
||||
%p The message you were looking for does not exist, or doesn't have content of this type.
|
Loading…
Reference in New Issue
Block a user