mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 02:11:08 -06:00
5dae0fdfb6
Plugins can use a new modifier to change which site settings are hidden using the :hidden_site_settings modifier. For example: ``` register_modifier(:hidden_site_settings) do |hidden| (hidden + [:invite_only, :login_required]).uniq end ``` |
||
---|---|---|
.. | ||
db_provider.rb | ||
defaults_provider.rb | ||
deprecated_settings.rb | ||
hidden_provider.rb | ||
local_process_provider.rb | ||
type_supervisor.rb | ||
validations.rb | ||
yaml_loader.rb |