mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 23:36:11 +08:00
Add tabs to category create/edit modal. Categories can have a default auto-close setting that applies to all new topics created in the category. Add rspec-given and write some integration tests. Tests for topic auto-close with category default
This commit is contained in:
@ -48,7 +48,7 @@ class CategoriesController < ApplicationController
|
||||
end
|
||||
|
||||
def category_param_keys
|
||||
[required_param_keys, :hotness, :secure, :group_names].flatten!
|
||||
[required_param_keys, :hotness, :secure, :group_names, :auto_close_days].flatten!
|
||||
end
|
||||
|
||||
def category_params
|
||||
|
Reference in New Issue
Block a user