mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00

This prevents the bug where if you go "back" to the UI after navigating to another page it loads with the old set of statuses
9 lines
192 B
Ruby
9 lines
192 B
Ruby
module HomeHelper
|
|
def default_props
|
|
{
|
|
token: @token,
|
|
account: render(file: 'api/v1/accounts/show', locals: { account: current_user.account }, formats: :json)
|
|
}
|
|
end
|
|
end
|