Adds missing comments order in management controller

This commit is contained in:
kikito
2015-10-28 17:34:51 +01:00
parent a7daf0108b
commit d6396b38b6

View File

@@ -7,6 +7,7 @@ class Management::ProposalsController < Management::BaseController
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 created_at}, only: :show
def vote
@proposal.register_vote(current_user, 'yes')