ffffng/server/resources/versionResource.js

18 lines
325 B
JavaScript

'use strict';
angular.module('ffffng').factory('VersionResource', function (
version,
Resources
) {
return {
get: function (req, res) {
return Resources.success(
res,
{
version: version
}
);
}
};
});