Change settings area to be separated into categories in admin UI (#19407)
And update all descriptions
This commit is contained in:
parent
abf6c87ee8
commit
7c152acb2c
29 changed files with 528 additions and 296 deletions
|
@ -241,7 +241,18 @@ Rails.application.routes.draw do
|
|||
end
|
||||
end
|
||||
|
||||
resource :settings, only: [:edit, :update]
|
||||
get '/settings', to: redirect('/admin/settings/branding')
|
||||
get '/settings/edit', to: redirect('/admin/settings/branding')
|
||||
|
||||
namespace :settings do
|
||||
resource :branding, only: [:show, :update], controller: 'branding'
|
||||
resource :registrations, only: [:show, :update], controller: 'registrations'
|
||||
resource :content_retention, only: [:show, :update], controller: 'content_retention'
|
||||
resource :about, only: [:show, :update], controller: 'about'
|
||||
resource :appearance, only: [:show, :update], controller: 'appearance'
|
||||
resource :discovery, only: [:show, :update], controller: 'discovery'
|
||||
end
|
||||
|
||||
resources :site_uploads, only: [:destroy]
|
||||
|
||||
resources :invites, only: [:index, :create, :destroy] do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue