|
|
@ -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 |
|
|
|