Improve instanciation of Resource in Card model

pull/91/head
Francis Lachapelle 2015-01-09 07:14:13 -05:00
parent f3597616ea
commit 8148209fc8
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@
*/
Card.$factory = ['$timeout', 'sgSettings', 'sgResource', function($timeout, Settings, Resource) {
angular.extend(Card, {
$$resource: new Resource(Settings.baseURL, Settings.activeUser),
$$resource: new Resource(Settings.activeUser.folderURL + 'Contacts', Settings.activeUser),
$timeout: $timeout
});