Github user robertkowalski commented on a diff in the pull request:
https://github.com/apache/couchdb-fauxton/pull/338#discussion_r27261179
--- Diff: app/addons/documents/shared-resources.js ---
@@ -27,7 +27,7 @@ define([
return FauxtonAPI.constants.DOC_URLS.GENERAL;
},
url: function (context) {
- if (context === undefined) {
+ if (!context) {
--- End diff --
i think the most cleanest way would be to remove the lazy context choosing,
i grepped the code and just saw two occurences.
that way you have to pass the argument every time explicitly and the error
logging in the url registry works in a reliable way
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---