Adding public timeline
This commit is contained in:
parent
06016453bd
commit
1f650d327d
21 changed files with 229 additions and 71 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue