闭社主体 forked from https://github.com/tootsuite/mastodon
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.

25 lines
456 B

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