diff --git a/lib/report.rb b/lib/report.rb index 93c00e6a31..13db29fb70 100644 --- a/lib/report.rb +++ b/lib/report.rb @@ -182,18 +182,18 @@ class Report < ActiveRecord::Base end def public! - is_public = true + self.is_public = true end def public? - is_public + self.is_public end def private! - is_public = false + self.is_public = false end def private? - !is_public + !public? end end