Sha256: a883f3b0d66951f4bbd5fac9a2e9559127a7c71a9d1c5b3405aeb9514fd30b56

Contents?: true

Size: 413 Bytes

Versions: 1

Compression:

Stored size: 413 Bytes

Contents

context = true unless context == false
json.set! '@context', 'https://www.w3.org/ns/activitystreams' if context

json.id Federails::Engine.routes.url_helpers.server_actor_activity_url activity.actor, activity
json.type activity.action
json.actor activity.actor.federated_url
json.to ['https://www.w3.org/ns/activitystreams#Public']
json.cc [activity.actor.followers_url]
json.object activity.entity.federated_url

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
federails-0.1.0 app/views/federails/server/activities/_activity.json.jbuilder