Add Site Setting allow_uncategorized_topics. Uncheck it to force people to choose a category for all new topics.

This commit is contained in:
Neil Lalonde
2013-05-24 16:49:08 -04:00
parent 1313c0f094
commit d26b87bd3c
9 changed files with 33 additions and 9 deletions

View File

@ -35,6 +35,7 @@ class SiteSetting < ActiveRecord::Base
client_setting(:max_post_length, 16000)
client_setting(:min_topic_title_length, 15)
client_setting(:max_topic_title_length, 255)
client_setting(:allow_uncategorized_topics, true)
client_setting(:min_search_term_length, 3)
client_setting(:flush_timings_secs, 5)
client_setting(:supress_reply_directly_below, true)