From 198f778b32f3c3fea547cdcaea54a0bf72de6d19 Mon Sep 17 00:00:00 2001 From: Jacob Herrington Date: Mon, 3 May 2021 18:36:24 -0500 Subject: [PATCH] Rename profile header partial (#13639) This partial is not actually rendered on the user profile, it is only used by organizations. Moving it to the directory where other organization-specific partials live! --- .../_profile_header.html.erb => organizations/_header.html.erb} | 0 app/views/organizations/show.html.erb | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename app/views/{users/_profile_header.html.erb => organizations/_header.html.erb} (100%) diff --git a/app/views/users/_profile_header.html.erb b/app/views/organizations/_header.html.erb similarity index 100% rename from app/views/users/_profile_header.html.erb rename to app/views/organizations/_header.html.erb diff --git a/app/views/organizations/show.html.erb b/app/views/organizations/show.html.erb index 48984bf09..f623ef93a 100644 --- a/app/views/organizations/show.html.erb +++ b/app/views/organizations/show.html.erb @@ -3,7 +3,7 @@ <%= content_for :page_meta do %> <%= render "users/meta" %> <% end %> -<%= render "users/profile_header" %> +<%= render "organizations/header" %>
" data-which="<%= @list_of %>" data-feed="<%= params[:timeframe] || "base-feed" %>"