mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
![Evan Minto](/assets/img/avatar_default.png)
* Clean up collapsible components * Expose user Outboxes and AS2 representations of statuses * Save work thus far. * Fix bad merge. * Save my work * Clean up pagination. * First test working. * Add tests. * Add Forbidden error template. * Revert yarn.lock changes. * Fix code style deviations and use localized instead of hardcoded English text.
9 lines
397 B
Ruby
9 lines
397 B
Ruby
extends 'activitypub/types/announce.activitystreams2.rabl'
|
|
extends 'api/activitypub/activities/_show_status.activitystreams2.rabl'
|
|
|
|
object @status
|
|
|
|
node(:name) { |status| t('activitypub.activity.announce.name', account_name: account_name(status.account)) }
|
|
node(:url) { |status| TagManager.instance.url_for(status) }
|
|
node(:object) { |status| api_activitypub_status_url(status.reblog_of_id) }
|