1
0
mirror of https://github.com/funamitech/mastodon synced 2024-11-27 22:38:42 +09:00

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
@featured_tags = current_account.featured_tags.order(statuses_count: :desc)
end
def featured_tag_params
params.require(:name)
end
end