Ticket #4420: really set the is_public field of a query

pull/6827/head
jwollert 13 years ago
parent c4fb3db7c7
commit 9614e777a5
  1. 8
      lib/report.rb

@ -182,18 +182,18 @@ class Report < ActiveRecord::Base
end end
def public! def public!
is_public = true self.is_public = true
end end
def public? def public?
is_public self.is_public
end end
def private! def private!
is_public = false self.is_public = false
end end
def private? def private?
!is_public !public?
end end
end end

Loading…
Cancel
Save