discourse/app/controllers/admin/plugins_controller.rb

8 lines
161 B
Ruby

class Admin::PluginsController < Admin::AdminController
def index
render_serialized(Discourse.plugins, AdminPluginSerializer, root: 'plugins')
end
end