Adds missing comments order in management controller
This commit is contained in:
@@ -7,6 +7,7 @@ class Management::ProposalsController < Management::BaseController
|
|||||||
before_action :parse_search_terms, only: :index
|
before_action :parse_search_terms, only: :index
|
||||||
|
|
||||||
has_orders %w{confidence_score hot_score created_at most_commented random}, only: [:index, :print]
|
has_orders %w{confidence_score hot_score created_at most_commented random}, only: [:index, :print]
|
||||||
|
has_orders %w{confidence_score created_at}, only: :show
|
||||||
|
|
||||||
def vote
|
def vote
|
||||||
@proposal.register_vote(current_user, 'yes')
|
@proposal.register_vote(current_user, 'yes')
|
||||||
|
|||||||
Reference in New Issue
Block a user