FEATURE: per-category default topic list sort order

This commit is contained in:
Neil Lalonde
2016-11-01 12:18:31 -04:00
parent 90ee4e743b
commit 9ef1688a76
10 changed files with 86 additions and 2 deletions

View File

@ -238,6 +238,8 @@ class CategoriesController < ApplicationController
:slug,
:allow_badges,
:topic_template,
:sort_order,
:sort_ascending,
:custom_fields => [params[:custom_fields].try(:keys)],
:permissions => [*p.try(:keys)],
:allowed_tags => [],