diff --git a/app/services/clamav_service.rb b/app/services/clamav_service.rb index 11c5591f0..1bd878bf1 100644 --- a/app/services/clamav_service.rb +++ b/app/services/clamav_service.rb @@ -1,6 +1,6 @@ class ClamavService def self.safe_file?(file_path) - if Rails.env == 'development' + if Rails.env.development? return true end