summaryrefslogtreecommitdiffstats
path: root/lib/redmine/activity/fetcher.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/redmine/activity/fetcher.rb')
-rw-r--r--lib/redmine/activity/fetcher.rb2
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)}