Skip to content
This repository was archived by the owner on Dec 11, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion backbone.subroute.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
constructor: function(prefix, options) {

// each subroute instance should have its own routes hash
this.routes = _.clone(this.routes) || {};
this.routes = _.clone(_.result(this, 'routes')) || {};

// Prefix is optional, set to empty string if not passed
this.prefix = prefix = prefix || "";
Expand Down