From 37300d67777da838c9c5be658d92a0ac552bc239 Mon Sep 17 00:00:00 2001 From: David Taylor Date: Sun, 13 Aug 2017 19:02:44 +0300 Subject: [PATCH] SECURITY: Do not show latest/top topics on 404 for login_required sites --- app/views/exceptions/not_found.html.erb | 44 +++++++++++++------------ 1 file changed, 23 insertions(+), 21 deletions(-) diff --git a/app/views/exceptions/not_found.html.erb b/app/views/exceptions/not_found.html.erb index f7177c1eb3d..771e65a5d72 100644 --- a/app/views/exceptions/not_found.html.erb +++ b/app/views/exceptions/not_found.html.erb @@ -2,28 +2,30 @@

<%= t 'page_not_found.title' %>

-
- +<% end %> <%- unless @hide_google %>