Remove code for rendering public and hashtag timelines outside the web UI (#19257)
This commit is contained in:
		@@ -95,7 +95,6 @@ Rails.application.routes.draw do
 | 
			
		||||
  get  '/interact/:id', to: 'remote_interaction#new', as: :remote_interaction
 | 
			
		||||
  post '/interact/:id', to: 'remote_interaction#create'
 | 
			
		||||
 | 
			
		||||
  get '/explore', to: 'directories#index', as: :explore
 | 
			
		||||
  get '/settings', to: redirect('/settings/profile')
 | 
			
		||||
 | 
			
		||||
  namespace :settings do
 | 
			
		||||
@@ -188,7 +187,9 @@ Rails.application.routes.draw do
 | 
			
		||||
  resource :relationships, only: [:show, :update]
 | 
			
		||||
  resource :statuses_cleanup, controller: :statuses_cleanup, only: [:show, :update]
 | 
			
		||||
 | 
			
		||||
  get '/public', to: 'public_timelines#show', as: :public_timeline
 | 
			
		||||
  get '/explore', to: redirect('/web/explore')
 | 
			
		||||
  get '/public', to: redirect('/web/public')
 | 
			
		||||
  get '/public/local', to: redirect('/web/public/local')
 | 
			
		||||
  get '/media_proxy/:id/(*any)', to: 'media_proxy#show', as: :media_proxy
 | 
			
		||||
 | 
			
		||||
  resource :authorize_interaction, only: [:show, :create]
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user