Commit d7cc2419 authored by mgabdev's avatar mgabdev

Removed unused DirectController for timelines from ruby

• Removed:
- unused DirectController for timelines from ruby
parent e5f68c3c
# 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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment