replace most_voted by confidence_score in comment views
This commit is contained in:
@@ -7,7 +7,7 @@ class DebatesController < ApplicationController
|
||||
before_action :authenticate_user!, except: [:index, :show]
|
||||
|
||||
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
|
||||
respond_to :html, :js
|
||||
|
||||
@@ -7,7 +7,7 @@ class ProposalsController < ApplicationController
|
||||
before_action :authenticate_user!, except: [:index, :show]
|
||||
|
||||
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
|
||||
respond_to :html, :js
|
||||
|
||||
@@ -245,7 +245,7 @@ en:
|
||||
comments:
|
||||
select_order: "Sort by"
|
||||
orders:
|
||||
most_voted: "Most voted"
|
||||
confidence_score: "Most voted"
|
||||
created_at: "Newest"
|
||||
form:
|
||||
leave_comment: Write a comment
|
||||
|
||||
@@ -245,7 +245,7 @@ es:
|
||||
comments:
|
||||
select_order: "Ordenar por"
|
||||
orders:
|
||||
most_voted: "Más votados"
|
||||
confidence_score: "Más votados"
|
||||
created_at: "Más nuevos"
|
||||
form:
|
||||
leave_comment: Deja tu comentario
|
||||
|
||||
Reference in New Issue
Block a user