Remove Pusher route (#15426)

We removed the controller in #15418, but some clients are still sending
requests to this endpoint, causing routing errors.
This commit is contained in:
Jamie Gaskins 2021-11-18 14:04:06 -05:00 committed by GitHub
parent fa00dea247
commit b64909acdd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -233,8 +233,6 @@ Rails.application.routes.draw do
get "/internal", to: redirect("/admin")
get "/internal/:path", to: redirect("/admin/%{path}")
post "/pusher/auth", to: "pusher#auth"
get "/social_previews/article/:id", to: "social_previews#article", as: :article_social_preview
get "/social_previews/user/:id", to: "social_previews#user", as: :user_social_preview
get "/social_previews/organization/:id", to: "social_previews#organization", as: :organization_social_preview