Remove dead code in Api::V1::FeaturedTagsController (#25073)

This commit is contained in:
Claire 2023-05-23 14:27:37 +02:00 committed by GitHub
parent fea0830614
commit 9017df7178
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,8 +31,4 @@ class Api::V1::FeaturedTagsController < Api::BaseController
def set_featured_tags def set_featured_tags
@featured_tags = current_account.featured_tags.order(statuses_count: :desc) @featured_tags = current_account.featured_tags.order(statuses_count: :desc)
end end
def featured_tag_params
params.require(:name)
end
end end