mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-15 00:38:27 +00:00
Adding public timeline
This commit is contained in:
@@ -6,8 +6,8 @@ module HomeHelper
|
||||
account: render(file: 'api/v1/accounts/show', locals: { account: current_user.account }, formats: :json),
|
||||
|
||||
timelines: {
|
||||
home: render(file: 'api/v1/statuses/home', locals: { statuses: @home }, formats: :json),
|
||||
mentions: render(file: 'api/v1/statuses/mentions', locals: { statuses: @mentions }, formats: :json)
|
||||
home: render(file: 'api/v1/statuses/index', locals: { statuses: @home }, formats: :json),
|
||||
mentions: render(file: 'api/v1/statuses/index', locals: { statuses: @mentions }, formats: :json)
|
||||
}
|
||||
}
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user