Skip to content

Commit

Permalink
Show summary next to name
Browse files Browse the repository at this point in the history
  • Loading branch information
naoty committed Aug 20, 2012
1 parent c5418ef commit 0b3e2ba
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/views/users/show.text.erb
@@ -1,4 +1,7 @@
name = <%= @user.name %>
<% if @user.summary -%>
summary = <%= @user.summary %>
<% end -%>
<% @user.items.each do |f, v| -%>
<% if v.present? -%>
<%= f %> = <%= v %>
Expand Down

0 comments on commit 0b3e2ba

Please sign in to comment.