Skip to content

Commit

Permalink
Don't bother with the 'spam' revisions any more.
Browse files Browse the repository at this point in the history
  • Loading branch information
David N. Welton committed Mar 23, 2010
1 parent 8dae4ed commit 12ca970
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/page.rb
Expand Up @@ -9,7 +9,7 @@ class Page < ActiveRecord::Base

# Get all revisions that aren't spam.
def non_spam_revisions
self.revisions.find(:all, :conditions => 'not spam')
self.revisions
end

private
Expand Down

0 comments on commit 12ca970

Please sign in to comment.