From 82f2e265f107c3236fb2e03321d866deba4810c7 Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Sun, 17 Nov 2019 23:12:29 -0600 Subject: Remove `FilterHelper` include from timeline APIs. --- app/controllers/api/v1/timelines/public_controller.rb | 2 -- app/controllers/api/v1/timelines/tag_controller.rb | 2 -- 2 files changed, 4 deletions(-) (limited to 'app/controllers/api/v1') diff --git a/app/controllers/api/v1/timelines/public_controller.rb b/app/controllers/api/v1/timelines/public_controller.rb index 86307271a..9fee4b362 100644 --- a/app/controllers/api/v1/timelines/public_controller.rb +++ b/app/controllers/api/v1/timelines/public_controller.rb @@ -1,8 +1,6 @@ # frozen_string_literal: true class Api::V1::Timelines::PublicController < Api::BaseController - include FilterHelper - after_action :insert_pagination_headers, unless: -> { @statuses.empty? } respond_to :json diff --git a/app/controllers/api/v1/timelines/tag_controller.rb b/app/controllers/api/v1/timelines/tag_controller.rb index 35202b1fa..849d015ca 100644 --- a/app/controllers/api/v1/timelines/tag_controller.rb +++ b/app/controllers/api/v1/timelines/tag_controller.rb @@ -1,8 +1,6 @@ # frozen_string_literal: true class Api::V1::Timelines::TagController < Api::BaseController - include FilterHelper - before_action :load_tag after_action :insert_pagination_headers, unless: -> { @statuses.empty? } -- cgit