mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-25 07:23:43 +01:00
f0f791bb76
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
8 lines
192 B
Ruby
8 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
|