about summary refs log tree commit diff
path: root/app/views/home
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/home')
-rw-r--r--app/views/home/index.html.haml11
1 files changed, 1 insertions, 10 deletions
diff --git a/app/views/home/index.html.haml b/app/views/home/index.html.haml
index a663bf37b..941397384 100644
--- a/app/views/home/index.html.haml
+++ b/app/views/home/index.html.haml
@@ -1,10 +1 @@
-= simple_form_for Status.new, url: statuses_path, method: :post do |f|
-  = f.input :text, required: true, autofocus: true, label: false, placeholder: 'What are you up to?'
-
-  .form-actions
-    = f.button :submit, 'Post update'
-
-- content_for :raw_content do
-  .activity-stream.activity-stream-embedded
-    - @timeline.each do |status|
-      = render partial: 'stream_entries/status', locals: { status: status }
+= react_component 'Root', { timelines: { home: render(file: 'api/statuses/home', locals: { statuses: @home }, formats: :json), mentions: render(file: 'api/statuses/mentions', locals: { statuses: @mentions }, formats: :json) }}, class: 'app-holder', prerender: false