mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 08:53:38 +08:00
9 lines
172 B
Ruby
9 lines
172 B
Ruby
class Admin::DashboardController < Admin::AdminController
|
|
|
|
caches_action :index, expires_in: 1.hour
|
|
|
|
def index
|
|
render_json_dump(AdminDashboardData.fetch)
|
|
end
|
|
|
|
end |