summaryrefslogtreecommitdiffstats
path: root/app/helpers/settings_helper.rb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-05-04 01:44:42 +0000
committerGo MAEDA <maeda@farend.jp>2019-05-04 01:44:42 +0000
commitcff50a591533bcc66588baaa555bb2790cc6d9fc (patch)
tree760bb7a80f07ac503b9a8a9f999f4fd37bbcace0 /app/helpers/settings_helper.rb
parentc8bc3fa2aa1c4c61e687e7fc9bde21e1b7ae907d (diff)
downloadredmine-cff50a591533bcc66588baaa555bb2790cc6d9fc.tar.gz
redmine-cff50a591533bcc66588baaa555bb2790cc6d9fc.zip
Add "robohash" to "Default Gravatar image" options (#31294).
Patch by Alexander Meindl. git-svn-id: http://svn.redmine.org/redmine/trunk@18121 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/settings_helper.rb')
-rw-r--r--app/helpers/settings_helper.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/helpers/settings_helper.rb b/app/helpers/settings_helper.rb
index b39a418cf..b03fd1646 100644
--- a/app/helpers/settings_helper.rb
+++ b/app/helpers/settings_helper.rb
@@ -208,4 +208,13 @@ module SettingsHelper
["#{today} (#{format})", f]
end
end
+
+ def gravatar_default_setting_options
+ [['Identicons', 'identicon'],
+ ['Monster ids', 'monsterid'],
+ ['Mystery man', 'mm'],
+ ['Retro', 'retro'],
+ ['Robohash', 'robohash'],
+ ['Wavatars', 'wavatar']]
+ end
end