discourse/app/controllers/admin/plugins_controller.rb

10 lines
200 B
Ruby

# frozen_string_literal: true
class Admin::PluginsController < Admin::StaffController
def index
render_serialized(Discourse.visible_plugins, AdminPluginSerializer, root: 'plugins')
end
end