removes half-baked feature

archived proposals is a separate issue now
This commit is contained in:
Juanjo Bazán
2016-09-08 17:06:16 +02:00
parent 11a5ed15ea
commit e330b704c0
3 changed files with 0 additions and 3 deletions

View File

@@ -44,7 +44,6 @@ class Proposal < ActiveRecord::Base
scope :sort_by_random, -> { reorder("RANDOM()") }
scope :sort_by_relevance, -> { all }
scope :sort_by_flags, -> { order(flags_count: :desc, updated_at: :desc) }
scope :archived, -> { where("proposals.created_at <= ?", 1.year.ago)}
scope :last_week, -> { where("proposals.created_at >= ?", 7.days.ago)}
scope :retired, -> { where.not(retired_at: nil) }
scope :not_retired, -> { where(retired_at: nil) }

View File

@@ -302,7 +302,6 @@ en:
hot_score: most active
most_commented: most commented
relevance: relevance
archived: Archived
retired_proposals: Retired proposals
retired_proposals_link: "Proposals retired by the author"
retired_links:

View File

@@ -302,7 +302,6 @@ es:
hot_score: Más activas hoy
most_commented: Más comentadas
relevance: Más relevantes
archived: Archivadas
retired_proposals: Propuestas retiradas
retired_proposals_link: "Propuestas retiradas por sus autores"
retired_links: