mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-23 04:55:08 +01:00
Remove dead code in Api::V1::FeaturedTagsController (#25073)
This commit is contained in:
parent
fea0830614
commit
9017df7178
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user