FIX: crawler versions of the page need the updated bio relationships.

This commit is contained in:
Robin Ward 2014-06-13 14:54:27 -04:00
parent e3fcd3fa80
commit 17d341ff86

View File

@ -1,11 +1,11 @@
<h2><%= @user.username %></h2>
<p><%= raw @user.bio_processed %></p>
<p><%= raw @user.user_profile.bio_processed %></p>
<p><%= t 'powered_by_html' %></p>
<% 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 %>