mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 07:11:34 +08:00
DEV: Show form templates in the composer (#21190)
This commit is contained in:
@ -4,7 +4,7 @@ class Admin::FormTemplatesController < Admin::StaffController
|
||||
before_action :ensure_form_templates_enabled
|
||||
|
||||
def index
|
||||
form_templates = FormTemplate.all
|
||||
form_templates = FormTemplate.all.order(:id)
|
||||
render_serialized(form_templates, AdminFormTemplateSerializer, root: "form_templates")
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user