Skip to content

Commit

Permalink
Oops should use present? for interests
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan Light committed Sep 3, 2011
1 parent 816fc6e commit 8c1d4ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/users/show.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
%span.value= link_to "@#{@user.twitter}", "http://twitter.com/#{@user.twitter}"
%li.interests
%label Interests
- if @user.interests
- if @user.interests.present?
%span.value.lengthy= @user.interests.split(",").map { |term| link_terms_to_search(term) }.join(", ").html_safe
- else
%span.value No interests. So sad...

0 comments on commit 8c1d4ce

Please sign in to comment.