Use a method instead of a comparison
This commit is contained in:
parent
026fd1aaa2
commit
81ee1c2961
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
class ClamavService
|
||||
def self.safe_file?(file_path)
|
||||
if Rails.env == 'development'
|
||||
if Rails.env.development?
|
||||
return true
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue