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.rb15
1 files changed, 0 insertions, 15 deletions
diff --git a/app/controllers/api/v1/trends_controller.rb b/app/controllers/api/v1/trends_controller.rb
deleted file mode 100644
index c875e9041..000000000
--- a/app/controllers/api/v1/trends_controller.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class Api::V1::TrendsController < Api::BaseController
-  before_action :set_tags
-
-  def index
-    render json: @tags, each_serializer: REST::TagSerializer
-  end
-
-  private
-
-  def set_tags
-    @tags = TrendingTags.get(limit_param(10))
-  end
-end