summaryrefslogtreecommitdiffstats
path: root/app/models
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2024-09-01 01:02:38 +0000
committerGo MAEDA <maeda@farend.jp>2024-09-01 01:02:38 +0000
commit2190a4b417dec7ff8407e92a80c78b291169334b (patch)
tree25a37d532ac69eab225f9a48234d6d26fbb65b5d /app/models
parent9f1059c13d9eeac4873b02fb2bd2d98f11a3b85c (diff)
downloadredmine-2190a4b417dec7ff8407e92a80c78b291169334b.tar.gz
redmine-2190a4b417dec7ff8407e92a80c78b291169334b.zip
Disable RuboCop Lint/InterpolationCheck for USER_FORMATS in app/models/user.rb (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@23005 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models')
-rw-r--r--app/models/user.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/user.rb b/app/models/user.rb
index f827b8cba..0bbfdfb53 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -24,6 +24,7 @@ class User < Principal
include Redmine::SafeAttributes
# Different ways of displaying/sorting users
+ # rubocop:disable Lint/InterpolationCheck
USER_FORMATS = {
:firstname_lastname => {
:string => '#{firstname} #{lastname}',
@@ -71,6 +72,7 @@ class User < Principal
:setting_order => 8
},
}
+ # rubocop:enable Lint/InterpolationCheck
MAIL_NOTIFICATION_OPTIONS = [
['all', :label_user_mail_option_all],