diff --git a/app/controllers/api/v1/timelines/direct_controller.rb b/app/controllers/api/v1/timelines/direct_controller.rb deleted file mode 100644 index 8b076c0c..00000000 --- a/app/controllers/api/v1/timelines/direct_controller.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -class Api::V1::Timelines::DirectController < Api::BaseController - before_action :require_admin! - respond_to :json - - def show - render json: [-1] - end - -end diff --git a/config/routes.rb b/config/routes.rb index e19f28cf..e7fd83fa 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -319,7 +319,6 @@ Rails.application.routes.draw do end namespace :timelines do - resource :direct, only: :show, controller: :direct resource :home, only: :show, controller: :home resource :public, only: :show, controller: :public resource :pro, only: :show, controller: :pro