about summary refs log tree commit diff
path: root/app/helpers/home_helper.rb
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-10-07 16:00:11 +0200
committerEugen Rochko <eugen@zeonfederated.com>2016-10-07 16:00:11 +0200
commit1f650d327d35bc48b897da99914c43750d8e5fd3 (patch)
tree6960b24e30c46c55ba9f3bf1af0a24b43cd9d248 /app/helpers/home_helper.rb
parent06016453bd91882a53e91c11fc80f2c75fd474bb (diff)
Adding public timeline
Diffstat (limited to 'app/helpers/home_helper.rb')
-rw-r--r--app/helpers/home_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/home_helper.rb b/app/helpers/home_helper.rb
index 61a4b4dd8..6b5151777 100644
--- a/app/helpers/home_helper.rb
+++ b/app/helpers/home_helper.rb
@@ -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