Merge pull request #13 from cblanc/error_page_fix

Fix error page for when the 404 is user not found
This commit is contained in:
simplefl 2015-05-02 20:35:03 +02:00
commit 53a0002194

View file

@ -6,13 +6,13 @@
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible"> <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
<meta name="viewport" content="width=device-width,initial-scale=1"> <meta name="viewport" content="width=device-width,initial-scale=1">
<%= favicon_link_tag 'shared/favicon.ico' %> <%= favicon_link_tag 'shared/favicon.ico' %>
<%= stylesheet_link_tag "themes/#{active_theme}/errors" %> <%= stylesheet_link_tag "themes/default/errors" %>
</head> </head>
<body> <body>
<div id="error"> <div id="error">
<div class="message"> <div class="message">
<div id="logo"> <div id="logo">
<%= link_to image_tag("themes/#{active_theme}/logo.png"), root_path %> <%= link_to image_tag("themes/default/logo.png"), root_path %>
</div> </div>
<div id="code"> <div id="code">
<h1><%= params[:code] %></h1> <h1><%= params[:code] %></h1>