mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Start detecting install problems and report them on the admin dashboard. This commit adds check for Rails.env
This commit is contained in:
@@ -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')
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user