2018-07-19 14:33:11 -04:00
|
|
|
class AdminDashboardNextIndexData < AdminDashboardNextData
|
|
|
|
def get_json
|
|
|
|
{
|
|
|
|
updated_at: Time.zone.now.as_json
|
|
|
|
}
|
|
|
|
end
|
|
|
|
|
|
|
|
def self.stats_cache_key
|
2018-07-31 17:35:13 -04:00
|
|
|
"index-dashboard-data-#{Report::SCHEMA_VERSION}"
|
2018-07-19 14:33:11 -04:00
|
|
|
end
|
|
|
|
|
|
|
|
# TODO: problems should be loaded from this model
|
|
|
|
# and not from a separate model/route
|
|
|
|
end
|