about summary refs log tree commit diff
path: root/app/controllers/api
diff options
context:
space:
mode:
authorDavid Yip <yipdw@member.fsf.org>2018-06-03 19:44:05 -0500
committerDavid Yip <yipdw@member.fsf.org>2018-06-03 19:44:05 -0500
commitc55263027a49c532b043e734b24b4ba174ffed5f (patch)
treee63d5a8dc09c6f7b2cbffd70e8570fbf2aaa5c90 /app/controllers/api
parent0f979c3460babbb8043b2365f946a9a0e3680be6 (diff)
parent0deb9fa6b9b8820fcb0a9ebd221178a8ec82490a (diff)
Merge remote-tracking branch 'origin/master' into gs-master
Diffstat (limited to 'app/controllers/api')
-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