From 77f0581673a47808e29c99efad691e7cdb5437a7 Mon Sep 17 00:00:00 2001 From: Ben Halpern Date: Tue, 10 Mar 2020 13:22:46 -0400 Subject: [PATCH] Remove flash notice to avoid cache leak (#6570) [deploy] --- app/views/comments/_form.html.erb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/views/comments/_form.html.erb b/app/views/comments/_form.html.erb index 7ba863301..3b929b514 100644 --- a/app/views/comments/_form.html.erb +++ b/app/views/comments/_form.html.erb @@ -1,7 +1,3 @@ -<% flash.each do |type, message| %> -
<%= message %>
-<% end %> - <% if @comment.errors.any? %>

<%= pluralize(@comment.errors.count, "error") %> prohibited this comment from being saved: