From 4e8d88227449b26781b2f2ebe2ada50a5cfef972 Mon Sep 17 00:00:00 2001 From: Claire Date: Tue, 23 May 2023 14:27:37 +0200 Subject: [PATCH] Remove dead code in Api::V1::FeaturedTagsController (#25073) --- app/controllers/api/v1/featured_tags_controller.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/controllers/api/v1/featured_tags_controller.rb b/app/controllers/api/v1/featured_tags_controller.rb index 5c81877bd9..516046f009 100644 --- a/app/controllers/api/v1/featured_tags_controller.rb +++ b/app/controllers/api/v1/featured_tags_controller.rb @@ -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