diff --git a/app/models/proposal.rb b/app/models/proposal.rb index 8337b5bd2..bfc031445 100644 --- a/app/models/proposal.rb +++ b/app/models/proposal.rb @@ -93,6 +93,10 @@ class Proposal < ActiveRecord::Base terms.present? ? where("title ILIKE ? OR description ILIKE ? OR question ILIKE ?", "%#{terms}%", "%#{terms}%", "%#{terms}%") : none end + def self.votes_needed_for_success + 53726 + end + protected def sanitize_description