mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 13:23:38 +08:00
8 lines
198 B
Ruby
8 lines
198 B
Ruby
# frozen_string_literal: true
|
|
|
|
class Admin::PluginsController < Admin::StaffController
|
|
def index
|
|
render_serialized(Discourse.visible_plugins, AdminPluginSerializer, root: "plugins")
|
|
end
|
|
end
|