projects
/
angular-drzb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5894e4
)
fetch typeahead from correct database
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Wed, 9 Jan 2013 23:34:11 +0000
(
00:34
+0100)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Wed, 9 Jan 2013 23:34:11 +0000
(
00:34
+0100)
app/js/services.js
patch
|
blob
|
history
diff --git
a/app/js/services.js
b/app/js/services.js
index
88ff3c4
..
142e930
100644
(file)
--- a/
app/js/services.js
+++ b/
app/js/services.js
@@
-39,7
+39,7
@@
angular.module('myApp.services', [ 'ngResource' ]).
});
}).
factory('View', function($resource) {
- return $resource('/:database/_design/registration/_view/:view?group=true;format=:format', { database: 'drzb2013' }, {
+ return $resource('/:database/_design/registration/_view/:view?group=true;format=:format', { database: 'drzb2013
v2
' }, {
key_array: {method:'GET', params:{ format:'key_array' }, isArray:false}
});