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!
This commit is contained in:
Jacob Herrington 2021-05-03 18:36:24 -05:00 committed by GitHub
parent 0e5c680cf8
commit 198f778b32
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 1 deletions

View file

@ -3,7 +3,7 @@
<%= content_for :page_meta do %>
<%= render "users/meta" %>
<% end %>
<%= render "users/profile_header" %>
<%= render "organizations/header" %>
<div class="home sub-home" id="index-container"
data-params="<%= params.merge(sort_by: "published_at", sort_direction: "desc", organization_id: @organization.id).to_json(only: %i[tag organization_id username q sort_by sort_direction]) %>" data-which="<%= @list_of %>"
data-feed="<%= params[:timeframe] || "base-feed" %>"