Removed unused DirectController for timelines from ruby

• Removed:
- unused DirectController for timelines from ruby
This commit is contained in:
mgabdev 2020-11-09 12:31:24 -06:00
parent e5f68c3c55
commit d7cc2419a6
2 changed files with 0 additions and 12 deletions

View File

@ -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

View File

@ -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