You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
397 B

  1. object false
  2. node(:meta) do
  3. {
  4. access_token: @token,
  5. locale: I18n.locale,
  6. me: current_account.id,
  7. }
  8. end
  9. node(:compose) do
  10. {
  11. me: current_account.id,
  12. default_privacy: current_account.user.setting_default_privacy,
  13. }
  14. end
  15. node(:accounts) do
  16. {
  17. current_account.id => partial('api/v1/accounts/show', object: current_account),
  18. }
  19. end
  20. node(:settings) { @web_settings }