Fixes issues in moderation spex related with comment sort

This commit is contained in:
kikito
2015-11-02 15:54:15 +01:00
parent f0e9005332
commit cf31e89204
6 changed files with 10 additions and 10 deletions

View File

@@ -7,7 +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
has_orders %w{most_voted newest}, only: :show
def vote
@proposal.register_vote(current_user, 'yes')