diff --git a/app/controllers/api/v1/streams_controller.rb b/app/controllers/api/v1/streams_controller.rb index 91b342ff6..101b3972e 100644 --- a/app/controllers/api/v1/streams_controller.rb +++ b/app/controllers/api/v1/streams_controller.rb @@ -13,10 +13,6 @@ module Api stream_responder end - def public - stream_responder(Stream::Public) - end - def activity stream_responder(Stream::Activity) end diff --git a/config/routes.rb b/config/routes.rb index 1d931528e..aacc7089c 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -222,7 +222,6 @@ Rails.application.routes.draw do get "podmin", to: "home#podmin" api_version(module: "Api::V1", path: {value: "api/v1"}) do - match "user", to: "users#show", via: %i[get post] resources :posts, only: %i[show create destroy] do resources :comments, only: %i[create index destroy] do post "report" => "comments#report" @@ -230,13 +229,11 @@ Rails.application.routes.draw do resource :likes, only: %i[create destroy] end resources :conversations, only: %i[show index create destroy] do - delete "visibility" => "conversation_visibilities#destroy" resources :messages, only: %i[index create] end get "streams/activity" => "streams#activity", :as => "activity_stream" - get "streams/stream" => "streams#multi", :as => "stream" - get "streams/public" => "streams#public", :as => "public_stream" - get "streams/followed_tags" => "streams#followed_tags", :as => "followed_tags_stream" + get "streams/main" => "streams#multi", :as => "stream" + get "streams/tags" => "streams#followed_tags", :as => "followed_tags_stream" get "streams/mentions" => "streams#mentioned", :as => "mentioned_stream" get "streams/liked" => "streams#liked", :as => "liked_stream" get "streams/commented" => "streams#commented", :as => "commented_stream"