replace most_voted by confidence_score in comment views

This commit is contained in:
kikito
2015-10-28 16:02:40 +01:00
parent 094ec09576
commit da19d4d773
4 changed files with 4 additions and 4 deletions

View File

@@ -7,7 +7,7 @@ class DebatesController < ApplicationController
before_action :authenticate_user!, except: [:index, :show] before_action :authenticate_user!, except: [:index, :show]
has_orders %w{hot_score confidence_score created_at most_commented random}, only: :index has_orders %w{hot_score confidence_score created_at most_commented random}, only: :index
has_orders %w{most_voted created_at}, only: :show has_orders %w{confidence_score created_at}, only: :show
load_and_authorize_resource load_and_authorize_resource
respond_to :html, :js respond_to :html, :js

View File

@@ -7,7 +7,7 @@ class ProposalsController < ApplicationController
before_action :authenticate_user!, except: [:index, :show] before_action :authenticate_user!, except: [:index, :show]
has_orders %w{hot_score confidence_score created_at most_commented random}, only: :index has_orders %w{hot_score confidence_score created_at most_commented random}, only: :index
has_orders %w{most_voted created_at}, only: :show has_orders %w{confidence_score created_at}, only: :show
load_and_authorize_resource load_and_authorize_resource
respond_to :html, :js respond_to :html, :js

View File

@@ -245,7 +245,7 @@ en:
comments: comments:
select_order: "Sort by" select_order: "Sort by"
orders: orders:
most_voted: "Most voted" confidence_score: "Most voted"
created_at: "Newest" created_at: "Newest"
form: form:
leave_comment: Write a comment leave_comment: Write a comment

View File

@@ -245,7 +245,7 @@ es:
comments: comments:
select_order: "Ordenar por" select_order: "Ordenar por"
orders: orders:
most_voted: "Más votados" confidence_score: "Más votados"
created_at: "Más nuevos" created_at: "Más nuevos"
form: form:
leave_comment: Deja tu comentario leave_comment: Deja tu comentario