mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
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 |
||
---|---|---|
.. | ||
auth_provider.rb | ||
authenticator.rb | ||
current_user_provider.rb | ||
default_current_user_provider.rb | ||
facebook_authenticator.rb | ||
github_authenticator.rb | ||
google_oauth2_authenticator.rb | ||
instagram_authenticator.rb | ||
managed_authenticator.rb | ||
oauth2_authenticator.rb | ||
open_id_authenticator.rb | ||
result.rb | ||
twitter_authenticator.rb |