2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00

Start detecting install problems and report them on the admin dashboard. This commit adds check for Rails.env

This commit is contained in:
Neil Lalonde 2013-03-19 23:18:00 -04:00
parent 04c6087ef0
commit 1e4dd3ea0c
9 changed files with 99 additions and 7 deletions

View file

@ -8,5 +8,9 @@
**/
Discourse.AdminDashboardController = Ember.Controller.extend({
loading: true,
versionCheck: null
versionCheck: null,
foundProblems: function() {
return(this.get('problems') && this.get('problems').length > 0);
}.property('problems')
});