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:
parent
04c6087ef0
commit
1e4dd3ea0c
9 changed files with 99 additions and 7 deletions
|
@ -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')
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue