Export fallback content type and use it as default in WebUI

This commit is contained in:
Thibaut Girka
2019-05-17 10:52:27 +02:00
committed by ThibG
parent dd5bf40b97
commit 56245a2a72
3 changed files with 6 additions and 2 deletions

View File

@@ -47,6 +47,7 @@ class InitialStateSerializer < ActiveModel::Serializer
store[:expand_spoilers] = object.current_account.user.setting_expand_spoilers
store[:reduce_motion] = object.current_account.user.setting_reduce_motion
store[:is_staff] = object.current_account.user.staff?
store[:default_content_type] = object.current_account.user.setting_default_content_type
end
store