mirror of
https://github.com/discourse/discourse.git
synced 2025-06-01 09:08:10 +08:00
Add enable_mobile_theme site setting. Uncheck it to disable the mobile theme.
This commit is contained in:
@ -261,6 +261,8 @@ class SiteSetting < ActiveRecord::Base
|
||||
|
||||
setting(:sequential_replies_threshold, 2)
|
||||
|
||||
client_setting(:enable_mobile_theme, true)
|
||||
|
||||
def self.generate_api_key!
|
||||
self.api_key = SecureRandom.hex(32)
|
||||
end
|
||||
|
Reference in New Issue
Block a user