mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-01 11:28:15 -05:00
f661fa609e
http://meta.discourse.org/t/is-it-better-for-discourse-to-use-javascript-or-coffeescript/3153
12 lines
285 B
JavaScript
12 lines
285 B
JavaScript
(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);
|