A platform for community discussion. Free, open, simple.
UX: invites#show can't be requested with json and is not configured properly (#8570)
Joffrey JAFFEUXff22f4cddddb
diff --git a/config/routes.rb b/config/routes.rbindex feaf544f18e..4ec1b521630 100644--- a/config/routes.rb+++ b/config/routes.rb@@ -790,7 +790,9 @@ Discourse::Application.routes.draw doget "/posts/:id/raw-email" => "posts#raw_email"get "raw/:topic_id(/:post_number)" => "posts#markdown_num"- resources :invites+ resources :invites, except: [:show]+ get "/invites/:id" => "invites#show", constraints: { format: :html }+post "invites/upload_csv" => "invites#upload_csv"post "invites/rescind-all" => "invites#rescind_all_invites"post "invites/reinvite" => "invites#resend_invite"