summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-11-12 12:31:51 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-11-12 12:31:51 +0000
commit0468fe6545d5f7a8710462817483c7b30d0c53aa (patch)
tree0643b5554af218f33a5902bbbb6299806555bdff
parente8785b7ac277ad9fdbdebda0cb7bca542691c675 (diff)
downloadredmine-0468fe6545d5f7a8710462817483c7b30d0c53aa.tar.gz
redmine-0468fe6545d5f7a8710462817483c7b30d0c53aa.zip
remove spaces inside {} of app/models/setting.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20346 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/models/setting.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/setting.rb b/app/models/setting.rb
index d8f41ba51..4c749d938 100644
--- a/app/models/setting.rb
+++ b/app/models/setting.rb
@@ -197,7 +197,7 @@ class Setting < ActiveRecord::Base
# Sets a setting value from params
def self.set_from_params(name, params)
params = params.dup
- params.delete_if {|v| v.blank? } if params.is_a?(Array)
+ params.delete_if {|v| v.blank?} if params.is_a?(Array)
params.symbolize_keys! if params.is_a?(Hash)
m = "#{name}_from_params"