Removed public/community timeline for non-admins

• Removed:
- public/community timeline for non-admins
- links to the page
- web sockets for the page
This commit is contained in:
mgabdev
2020-06-19 15:42:13 -04:00
parent b9bf84994f
commit 7ad7fe06bd
11 changed files with 2 additions and 100 deletions

View File

@@ -2,6 +2,7 @@
class Api::V1::Timelines::PublicController < Api::BaseController
before_action :require_user!, only: [:show]
before_action :require_admin!
after_action :insert_pagination_headers, unless: -> { @statuses.empty? }
respond_to :json