Fix wrong "only" target in previous commit

This commit is contained in:
Jeremy Kescher 2022-11-06 01:18:29 +01:00
parent da8c3bed5c
commit 7e0108bccd
No known key found for this signature in database
GPG key ID: 48DFE4BB15BA5940

View file

@ -1,7 +1,7 @@
# frozen_string_literal: true
class Api::V1::Trends::StatusesController < Api::BaseController
before_action :require_user!, only: [:show], if: :require_auth?
before_action :require_user!, only: [:index], if: :require_auth?
before_action :set_statuses
after_action :insert_pagination_headers