Skip to content

Commit

Permalink
Merge 58a2a38 into 3cabf1b
Browse files Browse the repository at this point in the history
  • Loading branch information
Afzaal Ameer committed Jun 21, 2014
2 parents 3cabf1b + 58a2a38 commit be567a6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
1 change: 0 additions & 1 deletion .travis.yml
@@ -1,5 +1,4 @@
language: node_js
node_js:
- 0.8
- 0.9
- "0.10"
10 changes: 10 additions & 0 deletions lib/CRUDCollection.js
Expand Up @@ -60,6 +60,16 @@ var CRUDCollection = function(options){
}

this.wildcard = { };
if (!!options.authenticate){
this.handler.authenticate = options.authenticate;
this.wildcard.authenticate = options.authenticate;
}


if (!!options.basicAuthenticate){
this.handler.basicAuthenticate = options.basicAuthenticate;
this.wildcard.basicAuthenticate = options.basicAuthenticate;
}

if (!!options.fetch){
this.wildcard.fetch = options.fetch;
Expand Down

0 comments on commit be567a6

Please sign in to comment.