From e5d438efb00049a89d6254c05c78755655c5a248 Mon Sep 17 00:00:00 2001 From: Molly Struve Date: Mon, 25 Nov 2019 17:19:04 -0600 Subject: [PATCH] Move organization profile image cache to Redis (#4930) [deploy] --- app/views/articles/_org_branding.html.erb | 40 +++++++++++------------ 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/app/views/articles/_org_branding.html.erb b/app/views/articles/_org_branding.html.erb index bdb203471..244d5d163 100644 --- a/app/views/articles/_org_branding.html.erb +++ b/app/views/articles/_org_branding.html.erb @@ -1,25 +1,25 @@ <% if organization && organization.bg_color_hex.present? %> - <% cache("article-organization-details-#{organization.id}-#{organization.updated_at}", expires_in: 100.hours) do %> -
-
-
- -
<%= organization.summary %>
- -
-
- +
+
+
+ +
<%= organization.summary %>
+ +
+ + <% end %> +
- <% end %> +
<% end %>