about summary refs log tree commit diff
path: root/app/controllers/api/v1/trends_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/api/v1/trends_controller.rb')
-rw-r--r--app/controllers/api/v1/trends_controller.rb17
1 files changed, 0 insertions, 17 deletions
diff --git a/app/controllers/api/v1/trends_controller.rb b/app/controllers/api/v1/trends_controller.rb
deleted file mode 100644
index bcea9857e..000000000
--- a/app/controllers/api/v1/trends_controller.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-# frozen_string_literal: true
-
-class Api::V1::TrendsController < Api::BaseController
-  before_action :set_tags
-
-  respond_to :json
-
-  def index
-    render json: @tags, each_serializer: REST::TagSerializer
-  end
-
-  private
-
-  def set_tags
-    @tags = TrendingTags.get(limit_param(10))
-  end
-end