Browse Source

删除空格

pull/4/head
欧醚 3 years ago
parent
commit
2cbee8feda
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      app/controllers/api/v1/timelines/home_controller.rb

+ 2
- 2
app/controllers/api/v1/timelines/home_controller.rb View File

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

Loading…
Cancel
Save