diff options
author | alpaca-tc <alpaca-tc@alpaca.tc> | 2017-05-25 21:14:36 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-05-25 14:14:36 +0200 |
commit | 08dce5e60792112ca8df4aa5de3663fd7ad51e77 (patch) | |
tree | c007e13c212b1c2f1a5e75937500b5196017604e /app/helpers/application_helper.rb | |
parent | 2469fd1cdcbb3778878a33a7879d5f1fa563c476 (diff) |
Refactor Setting (#3302)
* @object is not needed * Remove unneeded dependencies * Do not call private method * Prefer #respond_to_missing? over #respond_to? `#respond_to?` doesn't support `User.settings.method(:method_name)` * Use find_or_initialize_by instead of
Diffstat (limited to 'app/helpers/application_helper.rb')
0 files changed, 0 insertions, 0 deletions