diff options
author | Go MAEDA <maeda@farend.jp> | 2023-12-20 07:16:35 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2023-12-20 07:16:35 +0000 |
commit | d9ef2d191cdb3d04508530275bc99c3710820fcb (patch) | |
tree | 72d676c6332c4add4fe6b276c0085f247c0f2e22 /lib/redmine/activity | |
parent | c51e4937e7c7abafec00c883f3d7e45e53e5175f (diff) | |
download | redmine-d9ef2d191cdb3d04508530275bc99c3710820fcb.tar.gz redmine-d9ef2d191cdb3d04508530275bc99c3710820fcb.zip |
Fix RuboCop offense Lint/SymbolConversion (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22531 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine/activity')
-rw-r--r-- | lib/redmine/activity/fetcher.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/activity/fetcher.rb b/lib/redmine/activity/fetcher.rb index 9fc914a58..54c177586 100644 --- a/lib/redmine/activity/fetcher.rb +++ b/lib/redmine/activity/fetcher.rb @@ -45,7 +45,7 @@ module Redmine options = provider.activity_provider_options[event_type] permission = options[:permission] unless options.key?(:permission) - permission ||= "view_#{event_type}".to_sym + permission ||= :"view_#{event_type}" end if permission keep |= projects.any? {|p| @user.allowed_to?(permission, p)} |