0
0
Fork 0

Prettier account and stream entry URLs

This commit is contained in:
Eugen Rochko 2017-03-22 19:26:22 +01:00
parent 33fac87e81
commit d6ed2eb512
8 changed files with 53 additions and 11 deletions

View file

@ -82,7 +82,9 @@ class TagManager
case target.object_type
when :person
account_url(target)
short_account_url(target)
when :note, :comment, :activity
short_account_status_url(target.account, target)
else
account_stream_entry_url(target.account, target.stream_entry)
end