Skip to content

A platform for community discussion. Free, open, simple.

DEV: Redirect `/theme-tests` to `/theme-qunit` (#28617)

David Taylorc760b301903a
diff --git a/config/routes.rb b/config/routes.rb
index 64fbcb0ba24..a336a0d81a8 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -1614,6 +1614,7 @@ Discourse::Application.routes.draw do
post "/safe-mode" => "safe_mode#enter", :as => "safe_mode_enter"
get "/theme-qunit" => "qunit#theme"
+ get "/theme-tests", to: redirect("/theme-qunit")
# This is a special route that is used when theme QUnit tests are run through testem which appends a testem_id to the
# path. Unfortunately, testem's proxy support does not allow us to easily remove this from the path, so we have to