Added shortcuts back to sidebar (visible to PRO only for now)

• Added:
- shortcuts back to sidebar (visible to PRO only for now)
This commit is contained in:
mgabdev
2021-01-13 18:46:28 -05:00
parent 625cfab1b4
commit 6234cde19c
2 changed files with 5 additions and 2 deletions

View File

@@ -9,7 +9,7 @@ class Api::V1::Timelines::ListController < Api::BaseController
after_action :insert_pagination_headers, unless: -> { @statuses.empty? }
def show
render json: [],
render json: set_statuses,
each_serializer: REST::StatusSerializer,
relationships: StatusRelationshipsPresenter.new(@statuses, current_user.account_id)
end