Remove Atom feeds and old URLs in the form of GET /:username/updates/:id
(#11247)
This commit is contained in:
parent
406b46395d
commit
b851456139
70 changed files with 130 additions and 2791 deletions
|
@ -58,7 +58,7 @@ class REST::StatusSerializer < ActiveModel::Serializer
|
|||
end
|
||||
|
||||
def uri
|
||||
OStatus::TagManager.instance.uri_for(object)
|
||||
ActivityPub::TagManager.instance.uri_for(object)
|
||||
end
|
||||
|
||||
def content
|
||||
|
@ -66,7 +66,7 @@ class REST::StatusSerializer < ActiveModel::Serializer
|
|||
end
|
||||
|
||||
def url
|
||||
TagManager.instance.url_for(object)
|
||||
ActivityPub::TagManager.instance.url_for(object)
|
||||
end
|
||||
|
||||
def favourited
|
||||
|
@ -132,7 +132,7 @@ class REST::StatusSerializer < ActiveModel::Serializer
|
|||
end
|
||||
|
||||
def url
|
||||
TagManager.instance.url_for(object.account)
|
||||
ActivityPub::TagManager.instance.url_for(object.account)
|
||||
end
|
||||
|
||||
def acct
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue