The code powering m.abunchtell.com https://m.abunchtell.com
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 

17 rindas
635 B

  1. extends 'activitypub/types/ordered_collection_page.activitystreams2.rabl'
  2. object @account
  3. node(:items) do
  4. @statuses.map { |status| api_activitypub_status_url(status) }
  5. end
  6. node(:next) { @next_page_url } if @next_page_url
  7. node(:prev) { @prev_page_url } if @prev_page_url
  8. node(:current) { @first_page_url } if @first_page_url
  9. node(:first) { @first_page_url } if @first_page_url
  10. node(:last) { @last_page_url } if @last_page_url
  11. node(:partOf) { @part_of_url } if @part_of_url
  12. node(:updated) { |account| (@statuses.empty? ? account.created_at.to_time : @statuses.first.updated_at.to_time).xmlschema }