mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-26 23:39:37 +00:00
25 lines
359 B
Plaintext
25 lines
359 B
Plaintext
|
object false
|
||
|
|
||
|
node(:meta) {
|
||
|
{
|
||
|
access_token: @token,
|
||
|
locale: I18n.locale,
|
||
|
me: current_account.id,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
node(:compose) {
|
||
|
{
|
||
|
me: current_account.id,
|
||
|
private: current_account.locked?,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
node(:accounts) {
|
||
|
{
|
||
|
current_account.id => partial('api/v1/accounts/show', object: current_account),
|
||
|
}
|
||
|
}
|
||
|
|
||
|
node(:settings) { @web_settings }
|