discourse/app/models/admin_dashboard_next_index_data.rb
Joffrey JAFFEUX 37252c1a5e
UI: improves dashboard table reports
- support for avatars
- support for topic/post/user type in reports
- improved totals row UI
- minor css tweaks
2018-07-31 17:35:13 -04:00

15 lines
316 B
Ruby

class AdminDashboardNextIndexData < AdminDashboardNextData
def get_json
{
updated_at: Time.zone.now.as_json
}
end
def self.stats_cache_key
"index-dashboard-data-#{Report::SCHEMA_VERSION}"
end
# TODO: problems should be loaded from this model
# and not from a separate model/route
end