typo in my link

This commit is contained in:
Maxwell Salzberg 2011-07-29 19:30:12 -07:00
parent 9037748d23
commit 315ec29af2

View file

@ -52,7 +52,7 @@ module ApplicationHelper
opts[:class] ||= "" opts[:class] ||= ""
opts[:class] << " self" if defined?(user_signed_in?) && user_signed_in? && current_user.person == person opts[:class] << " self" if defined?(user_signed_in?) && user_signed_in? && current_user.person == person
if person.local? if person.local?
"<a href=/u/'#{person.diaspora_handle.split('@')[0]}' class='#{opts[:class]}'> "<a href='/u/#{person.diaspora_handle.split('@')[0]}' class='#{opts[:class]}'>
#{h(person.name)} #{h(person.name)}
</a>".html_safe </a>".html_safe
else else