Initial Logs controller

This commit is contained in:
Kyle Johnson 2014-12-01 16:15:42 +00:00
parent 87e1133506
commit 904b946bfb
1 changed files with 6 additions and 0 deletions

View File

@ -17,6 +17,12 @@ ZoneMinder.controller('FooterController', function($scope, Footer) {
});
});
ZoneMinder.controller('LogController', function($scope, Log) {
Log.getLogs(function(results) {
$scope.logs = results.logs;
});
});
ZoneMinder.controller('EventController', function($scope, $location, Event) {
var eventId = $location.search().eid;