diff --git a/app/controllers/api/v1/timelines/home_controller.rb b/app/controllers/api/v1/timelines/home_controller.rb index 9fee9aa86..ae6dbcb8b 100644 --- a/app/controllers/api/v1/timelines/home_controller.rb +++ b/app/controllers/api/v1/timelines/home_controller.rb @@ -7,7 +7,7 @@ class Api::V1::Timelines::HomeController < Api::BaseController def show @statuses = load_statuses - + render json: @statuses, each_serializer: REST::StatusSerializer, relationships: StatusRelationshipsPresenter.new(@statuses, current_user&.account_id), @@ -15,7 +15,7 @@ class Api::V1::Timelines::HomeController < Api::BaseController end private - + def load_statuses cached_home_statuses end