Add server rules (#15769)
This commit is contained in:
1 parent
dcc7c686f3
commit
8331fdf7e0
21 files changed
+258
-2
No files matched your search
@@ -9,7 +9,9 @@ class REST::InstanceSerializer < ActiveModel::Serializer
|
||||
|
||||
has_one :contact_account, serializer: REST::AccountSerializer
|
||||
|
||||
delegate :contact_account, to: :instance_presenter
|
||||
has_many :rules, serializer: REST::RuleSerializer
|
||||
|
||||
delegate :contact_account, :rules, to: :instance_presenter
|
||||
|
||||
def uri
|
||||
Rails.configuration.x.local_domain
|
||||
|
||||
Reference in new issue
Block a user