From 17d341ff86c2067beee4a9d55a303d4e0348801f Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Fri, 13 Jun 2014 14:54:27 -0400 Subject: [PATCH] FIX: crawler versions of the page need the updated bio relationships. --- app/views/users/show.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb index 38299f1d004..00e5f1a571e 100644 --- a/app/views/users/show.html.erb +++ b/app/views/users/show.html.erb @@ -1,11 +1,11 @@

<%= @user.username %>

-

<%= raw @user.bio_processed %>

+

<%= raw @user.user_profile.bio_processed %>

<%= t 'powered_by_html' %>

<% content_for :head do %> - <%= crawlable_meta_data(title: @user.username, description: @user.bio_summary, image: @user.small_avatar_url) %> + <%= crawlable_meta_data(title: @user.username, description: @user.user_profile.bio_summary, image: @user.small_avatar_url) %> <% end %> <% content_for :title do %><%=t("js.user.profile")%> - <%= @user.username %><% end %>