Change privacy policy to be rendered in web UI, add REST API (#19310)
Source string no longer localized, Markdown instead of raw HTML
This commit is contained in:
parent
7fb738c837
commit
a2ba011326
15 changed files with 282 additions and 112 deletions
|
@ -486,8 +486,9 @@ Rails.application.routes.draw do
|
|||
|
||||
resource :instance, only: [:show] do
|
||||
resources :peers, only: [:index], controller: 'instances/peers'
|
||||
resource :activity, only: [:show], controller: 'instances/activity'
|
||||
resources :rules, only: [:index], controller: 'instances/rules'
|
||||
resource :privacy_policy, only: [:show], controller: 'instances/privacy_policies'
|
||||
resource :activity, only: [:show], controller: 'instances/activity'
|
||||
end
|
||||
|
||||
resource :domain_blocks, only: [:show, :create, :destroy]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue