Browse Source

require login for tag api

pull/4/head
欧醚 5 years ago
parent
commit
353b88eba0
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      app/controllers/api/v1/timelines/tag_controller.rb

+ 1
- 0
app/controllers/api/v1/timelines/tag_controller.rb View File

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

Loading…
Cancel
Save