Github user robertkowalski commented on a diff in the pull request: https://github.com/apache/couchdb-fauxton/pull/268#discussion_r24750816 --- Diff: app/addons/documents/routes-documents.js --- @@ -36,39 +36,20 @@ function(app, FauxtonAPI, BaseRoute, Documents, Changes, Index, DocEditor, Datab route: "allDocs", roles: ["fx_loggedIn"] }, - "database/:database/_design/:ddoc/_view/:view": { - route: "viewFn", - roles: ['fx_loggedIn'] - }, - "database/:database/_design/:ddoc/_lists/:fn": { - route: "tempFn", - roles: ['fx_loggedIn'] - }, - "database/:database/_design/:ddoc/_filters/:fn": { - route: "tempFn", - roles: ['fx_loggedIn'] - }, - "database/:database/_design/:ddoc/_show/:fn": { - route: "tempFn", - roles: ['fx_loggedIn'] - }, "database/:database/_design/:ddoc/metadata": { route: "designDocMetadata", roles: ['fx_loggedIn'] }, - "database/:database/new_view": "newViewEditor", - "database/:database/new_view/:designDoc": "newViewEditor", "database/:database/_changes(:params)": "changes" }, events: { - "route:updateAllDocs": "updateAllDocsFromView", "route:reloadDesignDocs": "reloadDesignDocs", - "route:paginate": "paginate", - "route:perPageChange": "perPageChange", "route:changesFilterAdd": "addFilter", "route:changesFilterRemove": "removeFilter", - "route:updateQueryOptions": "updateQueryOptions" + 'route:updateAllDocs': 'updateAllDocsFromView', + 'route:paginate': 'paginate', + 'route:perPageChange': 'perPageChange', --- End diff -- it turns out even if you inherit from a baseclass you will need to define your routes in every child, probably backbone inheritance does not do a deep copy
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---