17 lines
325 B
JavaScript
17 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
|
|
}
|
|
);
|
|
}
|
|
};
|
|
});
|