mirror of
https://github.com/discourse/discourse.git
synced 2024-12-02 05:29:17 -06:00
9be70a22cd
This removes all uses of both `send` and `public_send` from consumers of SiteSetting and instead introduces a `get` helper for dynamic lookup This leads to much cleaner and safer code long term as we are always explicit to test that a site setting is really there before sending an arbitrary string to the class It also removes a couple of risky stubs from the auth provider test |
||
---|---|---|
.. | ||
backup_restore | ||
content_security_policy | ||
seed_data | ||
site_settings | ||
browser_detection_spec.rb | ||
content_security_policy_spec.rb | ||
db_helper_spec.rb | ||
encodings_spec.rb | ||
introduction_updater_spec.rb | ||
mini_sql_multisite_connection_spec.rb | ||
theme_javascript_compiler_spec.rb | ||
upload_creator_spec.rb | ||
upload_recovery_spec.rb |