discourse/app/assets/javascripts/admin/routes/admin_dashboard_route.js

13 lines
285 B
JavaScript
Raw Normal View History

(function() {
Discourse.AdminDashboardRoute = Discourse.Route.extend({
setupController: function(c) {
return Discourse.VersionCheck.find().then(function(vc) {
c.set('versionCheck', vc);
return c.set('loading', false);
});
}
});
}).call(this);