mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
Fix /web
prefix (#19468)
This commit is contained in:
parent
8ebff0efcb
commit
31e23269f9
@ -681,9 +681,9 @@ Rails.application.routes.draw do
|
|||||||
get path, to: 'home#index'
|
get path, to: 'home#index'
|
||||||
end
|
end
|
||||||
|
|
||||||
get '/web/(*any)', to: redirect('/%{any}', status: 302), as: :web
|
get '/web/(*any)', to: redirect('/%{any}', status: 302), as: :web, defaults: { any: '' }
|
||||||
get '/about', to: 'about#show'
|
get '/about', to: 'about#show'
|
||||||
get '/about/more', to: redirect('/about')
|
get '/about/more', to: redirect('/about')
|
||||||
|
|
||||||
get '/privacy-policy', to: 'privacy#show', as: :privacy_policy
|
get '/privacy-policy', to: 'privacy#show', as: :privacy_policy
|
||||||
get '/terms', to: redirect('/privacy-policy')
|
get '/terms', to: redirect('/privacy-policy')
|
||||||
|
Loading…
Reference in New Issue
Block a user