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.

26 lines
509 B

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