Merge pull request #137 from Y-zu-don-maintenance-org/4.1.18

4.1.18
This commit is contained in:
2024-07-05 18:59:51 +09:00
committed by GitHub
83 changed files with 1344 additions and 293 deletions

View File

@@ -1,6 +1,7 @@
# frozen_string_literal: true
class Api::V1::Timelines::PublicController < Api::BaseController
before_action -> { authorize_if_got_token! :read, :'read:statuses' }
before_action :require_user!, only: [:show], if: :require_auth?
after_action :insert_pagination_headers, unless: -> { @statuses.empty? }