mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
speed up startup (avoid loading some gems on startup)
correct group permission leaks add Discourse.cache for richer caching support
This commit is contained in:
@@ -4,7 +4,7 @@ class SiteSerializer < ApplicationSerializer
|
||||
:notification_types,
|
||||
:post_types
|
||||
|
||||
has_many :categories, embed: :objects
|
||||
has_many :categories, serializer: BasicCategorySerializer, embed: :objects
|
||||
has_many :post_action_types, embed: :objects
|
||||
has_many :trust_levels, embed: :objects
|
||||
has_many :archetypes, embed: :objects, serializer: ArchetypeSerializer
|
||||
|
||||
Reference in New Issue
Block a user