All Downloads are FREE. Search and download functionalities are using the official Maven repository.

restx.log.js.app.js Maven / Gradle / Ivy

angular.module('admin', ['ngResource']);

angular.module('admin').config(function($routeProvider) {
  $routeProvider.
      when('/', {
        controller: 'ViewLogsController',
        templateUrl: 'views/view-logs.html'
      }).
      when('/configure', {
        controller: 'ConfigureLogsController',
        templateUrl: 'views/configure-logs.html'
      });
});

angular.module('admin').factory('Loggers', function($resource) {
    return $resource('../../loggers/:name', {name: '@name'}, {
        update: {method:'PUT'}
    });
});





© 2015 - 2025 Weber Informatics LLC | Privacy Policy