Adding sense of self to the UI, cleaning up routing, adding third (detail) column
This commit is contained in:
parent
d6a64f45fd
commit
2e7aac793a
16 changed files with 160 additions and 49 deletions
|
@ -1,2 +1,14 @@
|
|||
module HomeHelper
|
||||
def default_props
|
||||
{
|
||||
token: @token,
|
||||
|
||||
account: render(file: 'api/accounts/show', locals: { account: current_user.account }, formats: :json),
|
||||
|
||||
timelines: {
|
||||
home: render(file: 'api/statuses/home', locals: { statuses: @home }, formats: :json),
|
||||
mentions: render(file: 'api/statuses/mentions', locals: { statuses: @mentions }, formats: :json)
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue