/// <reference path="../../../../../../../typings/index.d.ts" />
(function() {
	'use strict';

	angular.module('dedupApp')
		.factory('File', File);

	/**
	 * @param {ng.resource.IResourceService} $resource
	 */
	function File($resource) {
		return $resource('rest/file/:id', { id: '@id' }, {
			update: {
				method: 'PUT'
			}
		});
	}

})();
