'use strict';

//Replay service used to communicate Diaries REST endpoints
angular.module('ggDiary').factory('Replays', ['$resource',
	function($resource) {
		return $resource('ggDiary/replays/:replayId', { diaryId: '@_id'
		}, {
			update: {
				method: 'PUT'
			}
		});
	}
]);
