Removed unused DirectController for timelines from ruby
• Removed: - unused DirectController for timelines from ruby
This commit is contained in:
parent
e5f68c3c55
commit
d7cc2419a6
|
@ -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
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue