about summary refs log tree commit diff
path: root/config/routes.rb
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2022-09-29 06:22:12 +0200
committerGitHub <noreply@github.com>2022-09-29 06:22:12 +0200
commit36f4c32a38ed85e5e658b34d36eac40a6147bc0c (patch)
tree11f796d6d764b9f6b3f94f43f4e22c8a2007d4a4 /config/routes.rb
parente623c302d5d4dfc05689eb8fb8e051e30fc38ec8 (diff)
Change path of privacy policy page (#19249)
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 9491c5177..5d0b3004b 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -640,7 +640,9 @@ Rails.application.routes.draw do
 
   get '/about',        to: 'about#show'
   get '/about/more',   to: 'about#more'
-  get '/terms',        to: 'about#terms'
+
+  get '/privacy-policy', to: 'privacy#show', as: :privacy_policy
+  get '/terms',          to: redirect('/privacy-policy')
 
   match '/', via: [:post, :put, :patch, :delete], to: 'application#raise_not_found', format: false
   match '*unmatched_route', via: :all, to: 'application#raise_not_found', format: false