X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/87918595da1e1fad2ddd7aa62f9fc537dff657ff..e0df631848fde2b8800824c9da5844b629b5a648:/lib/redactable.rb diff --git a/lib/redactable.rb b/lib/redactable.rb index d827cfd74..6efdae0ef 100644 --- a/lib/redactable.rb +++ b/lib/redactable.rb @@ -4,7 +4,7 @@ module Redactable def self.included(base) # this is used to extend activerecord bases, as these aren't # in scope for the module itself. - base.scope :unredacted, -> { base.where(:redaction_id => nil) } + base.scope :unredacted, -> { where(:redaction_id => nil) } end def redacted?