UX: Admin setting page consistency - Navigation (#30574)

Create a basic config page that only contains navigation-related settings, to replace the setting filtered view linked to from "Navigation" in the admin sidebar.
This commit is contained in:
Gary Pendergast
2025-01-06 17:44:33 +11:00
committed by GitHub
parent 7922e6bfc0
commit f5126199f6
11 changed files with 60 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
# frozen_string_literal: true
class SiteSetting < ActiveRecord::Base
VALID_AREAS = %w[about embedding emojis flags fonts legal notifications permalinks]
VALID_AREAS = %w[about embedding emojis flags fonts legal navigation notifications permalinks]
extend GlobalPath
extend SiteSettingExtension