UX: add a route /rules as an alias for /faq and /guidelines

This commit is contained in:
Neil Lalonde
2018-07-26 15:37:56 -04:00
parent 56ae826efb
commit 1708ff1808
3 changed files with 22 additions and 24 deletions

View File

@@ -328,6 +328,7 @@ Discourse::Application.routes.draw do
get "password-reset" => "static#show", id: "password_reset", constraints: { format: /(json|html)/ }
get "faq" => "static#show", id: "faq", constraints: { format: /(json|html)/ }
get "guidelines" => "static#show", id: "guidelines", as: 'guidelines', constraints: { format: /(json|html)/ }
get "rules" => "static#show", id: "rules", as: 'rules', constraints: { format: /(json|html)/ }
get "tos" => "static#show", id: "tos", as: 'tos', constraints: { format: /(json|html)/ }
get "privacy" => "static#show", id: "privacy", as: 'privacy', constraints: { format: /(json|html)/ }
get "signup" => "static#show", id: "signup", constraints: { format: /(json|html)/ }