resources/404.erb in plezi-0.12.22 vs resources/404.erb in plezi-0.14.0
- old
+ new
@@ -1,10 +1,11 @@
<%
# # consider replacing the Html with the following Ruby code:
-# response.redirect_to "/", notice: "Sory, we couldn't find #{request.original_path}", status: 404
+# cookies[:notice] = "Sorry, we couldn't find #{request.original_path} - error code 404"
+# response.redirect_to "/"
# # OR
-# render :template, layout: :layout
+# render("layout") { render("template") }
%><!DOCTYPE html>
<head>
<style>
/*
med-blue: #44518E
@@ -44,11 +45,11 @@
border-bottom: 3px solid #424A70;
font-size: 1.2em;
}
h3
{
- font-family: 'Architects Daughter', cursive;
+ font-family: 'Architects Daughter', cursive;
background-color: #44518E;
color: #C6CCE7;
text-align: left;
margin: 0 0 1em 0;
padding: 0.5em 5%;
@@ -78,10 +79,10 @@
}
p
{
font-size: 1em;
padding: 0 1em;
- margin: 0.5em 0;
+ margin: 0.5em 0;
}
a
{
color: #D0AC54;
text-decoration: none;