Add ability to translate server rules (#34494)
This commit is contained in:
parent
977164decc
commit
8c51a8ba94
17 changed files with 149 additions and 20 deletions
|
@ -47,7 +47,7 @@ class InstancePresenter < ActiveModelSerializers::Model
|
|||
end
|
||||
|
||||
def rules
|
||||
Rule.ordered
|
||||
Rule.ordered.includes(:translations)
|
||||
end
|
||||
|
||||
def user_count
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue