discourse/app/controllers/admin/plugins_controller.rb

8 lines
169 B
Ruby
Raw Normal View History

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