harbor/static/resources/js/services/user/services.log-out.js

19 lines
313 B
JavaScript

(function() {
'use strict';
angular
.module('harbor.services.user')
.factory('LogOutService', LogOutService);
LogOutService.$inject = ['$http'];
function LogOutService($http) {
return logOut;
function logOut() {
return $http
.get('/log_out');
}
}
})();