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]
|
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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user