summaryrefslogtreecommitdiffstats
path: root/app/helpers/my_helper.rb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2023-12-20 09:23:05 +0000
committerGo MAEDA <maeda@farend.jp>2023-12-20 09:23:05 +0000
commit380444f085d95656347cb4e62d41e851ca8494b9 (patch)
tree29b59c9e08ff8236b3abdde6396ed704fd68092b /app/helpers/my_helper.rb
parent21a48d79f4f116a59283803475a5799e83da6074 (diff)
downloadredmine-380444f085d95656347cb4e62d41e851ca8494b9.tar.gz
redmine-380444f085d95656347cb4e62d41e851ca8494b9.zip
Fix RuboCop offense Performance/StringIdentifierArgument (#39888).
git-svn-id: https://svn.redmine.org/redmine/trunk@22535 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/my_helper.rb')
-rw-r--r--app/helpers/my_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/my_helper.rb b/app/helpers/my_helper.rb
index b7151f999..1abecce96 100644
--- a/app/helpers/my_helper.rb
+++ b/app/helpers/my_helper.rb
@@ -61,7 +61,7 @@ module MyHelper
return nil
end
else
- send "render_#{block_definition[:name]}_block", block, settings
+ send :"render_#{block_definition[:name]}_block", block, settings
end
end