Prettier account and stream entry URLs
This commit is contained in:
parent
33fac87e81
commit
d6ed2eb512
8 changed files with 53 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue