diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2022-09-29 06:22:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-29 06:22:12 +0200 |
commit | 36f4c32a38ed85e5e658b34d36eac40a6147bc0c (patch) | |
tree | 11f796d6d764b9f6b3f94f43f4e22c8a2007d4a4 /config/routes.rb | |
parent | e623c302d5d4dfc05689eb8fb8e051e30fc38ec8 (diff) |
Change path of privacy policy page (#19249)
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 4 |
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 |