From 353b88eba067f1f52bc514c1d73e02a9c40b999d Mon Sep 17 00:00:00 2001 From: Z Date: Mon, 21 Oct 2019 14:52:09 +0800 Subject: [PATCH] require login for tag api --- app/controllers/api/v1/timelines/tag_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/api/v1/timelines/tag_controller.rb b/app/controllers/api/v1/timelines/tag_controller.rb index 9adc4ad29..993130a26 100644 --- a/app/controllers/api/v1/timelines/tag_controller.rb +++ b/app/controllers/api/v1/timelines/tag_controller.rb @@ -1,6 +1,7 @@ # frozen_string_literal: true class Api::V1::Timelines::TagController < Api::BaseController + before_action :require_user! before_action :load_tag after_action :insert_pagination_headers, unless: -> { @statuses.empty? }