diff options
author | Evan Minto <evan.minto@gmail.com> | 2017-02-06 01:19:05 -0800 |
---|---|---|
committer | Evan Minto <evan.minto@gmail.com> | 2017-02-06 01:19:26 -0800 |
commit | 94e213c6c11fb3476a6c151425052775427574e1 (patch) | |
tree | 93d3ef2c7c6d96801693e9268f24c481a2bb6af5 /app/views/api | |
parent | 8bd8ea7c0406a8eeb145471475b105366e195e6a (diff) |
Reuse existing controller and route
Diffstat (limited to 'app/views/api')
-rw-r--r-- | app/views/api/activitypub/accounts/show.rabl | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/app/views/api/activitypub/accounts/show.rabl b/app/views/api/activitypub/accounts/show.rabl deleted file mode 100644 index 806789d00..000000000 --- a/app/views/api/activitypub/accounts/show.rabl +++ /dev/null @@ -1,10 +0,0 @@ -object @account - -node(:'@context') { 'https://www.w3.org/ns/activitystreams' } -node(:type) { 'Person' } -node(:id) { request.original_url } -node(:url) { |account| TagManager.instance.url_for(account) } -node(:name) { |account| account.display_name } -node(:preferredUsername) { |account| account.username } -node(:summary) { |account| account.note } -node(:icon) { |account| full_asset_url(account.avatar.url(:original)) } |