Skip to content

Commit

Permalink
Fix incorrect variable usage in reference.md (#804)
Browse files Browse the repository at this point in the history
  • Loading branch information
RaananW authored and Jacob Wenger committed Jul 4, 2016
1 parent 859e73b commit 1a4b9d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -1108,7 +1108,7 @@ app.factory("User", function(UserFactory) {
var ref = firebase.database().ref();
var usersRef = ref.child("users");
return function(userid) {
return new UserFactory(ref.child(userid));
return new UserFactory(usersRef.child(userid));
}
});
```
Expand Down

0 comments on commit 1a4b9d8

Please sign in to comment.