{I" class:ETI"BundledAsset;FI"logical_path;TI"2social_networking/resources/likes-resource.js;FI" pathname;TI"}/Users/usabilitymonitor/Desktop/Github/social_networking/app/assets/javascripts/social_networking/resources/likes-resource.js;FI"content_type;TI"application/javascript;TI" mtime;Tl+ążUI" length;Ti=I" digest;TI"%d16a556d6ee1b7048c8f26cdae7be3fe;FI" source;TI"=;(function() { "use strict"; // Service for managing remote Likes. function Likes($resource) { var LikeResource = $resource('/social_networking/likes/:id', { id: '@id' }); function Like() {} // Persist a Like to the server. Like.create = function(attributes) { var like = new LikeResource({ itemType: attributes.itemType, itemId: attributes.itemId }); return like.$save(); }; return Like; } angular.module('socialNetworking.services') .service('LikeResource', ['$resource', Likes]); })(); ;TI"required_assets_digest;TI"%fec169364fa4571011f25860bf66b19d;FI" _version;TI"%069e88c06b889877799890854d7f4c40;F