Fix person_href
This commit is contained in:
parent
b8ca4bfcab
commit
1e50137815
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ module PeopleHelper
|
||||||
end
|
end
|
||||||
|
|
||||||
def person_href(person, opts={})
|
def person_href(person, opts={})
|
||||||
link = "href='"
|
link = "href='/"
|
||||||
link += AppConfig.pod_url if opts[:absolute]
|
link += AppConfig.pod_url if opts[:absolute]
|
||||||
if person.local?
|
if person.local?
|
||||||
username = person.diaspora_handle.split('@')[0]
|
username = person.diaspora_handle.split('@')[0]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue