diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-10-01 07:19:11 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-10-01 07:19:11 +0000 |
commit | ef988ba17cde0fef14d59be0df26bd068769b5ee (patch) | |
tree | a0a2a6c5f69d811d9e4be7e957baeee30e2ebdcb /app/controllers/settings_controller.rb | |
parent | a29854707b30d74f43b448f288c7663cbd6066d3 (diff) | |
download | redmine-ef988ba17cde0fef14d59be0df26bd068769b5ee.tar.gz redmine-ef988ba17cde0fef14d59be0df26bd068769b5ee.zip |
code cleanup r10542 changes (#10937)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10544 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/settings_controller.rb')
-rw-r--r-- | app/controllers/settings_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/settings_controller.rb b/app/controllers/settings_controller.rb index e3387e400..b27582671 100644 --- a/app/controllers/settings_controller.rb +++ b/app/controllers/settings_controller.rb @@ -40,7 +40,7 @@ class SettingsController < ApplicationController else @options = {} user_format = User::USER_FORMATS.collect{|key, value| [key, value[:setting_order]]}.sort{|a, b| a[1] <=> b[1]} - @options[:user_format] = user_format.collect{|v| v[0]}.collect{|f| [User.current.name(f), f.to_s]} + @options[:user_format] = user_format.collect{|f| [User.current.name(f[0]), f[0].to_s]} @deliveries = ActionMailer::Base.perform_deliveries @guessed_host_and_path = request.host_with_port.dup |