Change path of privacy policy page (#19249)

This commit is contained in:
Eugen Rochko
2022-09-29 06:22:12 +02:00
committed by GitHub
parent e623c302d5
commit 36f4c32a38
11 changed files with 38 additions and 28 deletions

View File

@@ -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