projects
/
angular-drzb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ced7a9
)
fix typo
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 21 Feb 2013 13:56:11 +0000
(14:56 +0100)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 21 Feb 2013 13:56:11 +0000
(14:56 +0100)
app/js/services.js.ep
patch
|
blob
|
history
diff --git
a/app/js/services.js.ep
b/app/js/services.js.ep
index
06be6f1
..
23c58ca
100644
(file)
--- a/
app/js/services.js.ep
+++ b/
app/js/services.js.ep
@@
-40,7
+40,7
@@
angular.module('myApp.services', [ 'ngResource' ]).
}).
factory('Registration', function($resource){
return $resource('/data/:database/registration/:registrationId', { database: '<%= $couchdb_database %>' }, {
- query: {method:'GET', params:{registraionId:'@id'}, isArray:true}
+ query: {method:'GET', params:{registra
t
ionId:'@id'}, isArray:true}
});
}).
/* http://jsfiddle.net/asgoth/7bNAd/ */