Fixes issues in moderation spex related with comment sort
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user