Show an alert when ./bootstrap/cachet is not writeable.

This commit is contained in:
James Brooks
2016-11-25 20:19:38 +00:00
parent 529ea726b6
commit c9c592b033
3 changed files with 15 additions and 1 deletions
+1
View File
@@ -40,5 +40,6 @@ class DashboardComposer
$view->withIncidentTemplateCount(IncidentTemplate::count());
$view->withScheduleCount(Schedule::count());
$view->withSubscriberCount(Subscriber::isVerified()->count());
$view->withIsWriteable(is_writeable(app()->bootstrapPath().'/cachet'));
}
}